NMPGCALCSIZE structure (commctrl.h)
Contains and receives information that the pager control uses to calculate the scrollable area of the contained window. It is used with the PGN_CALCSIZE notification.
Syntax
typedef struct {
NMHDR hdr;
DWORD dwFlag;
int iWidth;
int iHeight;
} NMPGCALCSIZE, *LPNMPGCALCSIZE;
Members
hdr
Type: NMHDR
NMHDR structure that contains information about the notification.
dwFlag
Type: DWORD
Value that indicates which dimension is being requested. This will be one of the following values:
iWidth
Type: int
Receives the desired width of the scrollable area, in pixels.
iHeight
Type: int
Receives the desired height of the scrollable area, in pixels.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | commctrl.h |