PGN_CALCSIZE notification code

Sent by a pager control to obtain the scrollable dimensions of the contained window. These dimensions are used by the pager control to determine the scrollable size of the contained window. This notification code is sent in the form of a WM_NOTIFY message.

PGN_CALCSIZE

    lpnmcs = (LPNMPGCALCSIZE) lParam;

Parameters

lParam

Pointer to an NMPGCALCSIZE structure that contains and receives information about the notification code. The dwFlag member of this structure indicates which dimension is being calculated. Depending on the value of dwFlag, you should place the desired dimension in the iWidth or iHeight member of this structure.

Return value

The return value is ignored.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h