NMPGCALCSIZENMPGCALCSIZE*
*



Contents  *



Index  *Topic Contents
*Previous Topic: Pager Control Structures
*Next Topic: NMPGSCROLL

NMPGCALCSIZE


typedef struct {
    NMHDR   hdr;
    DWORD   dwFlag;
    int     iWidth;
    int     iHeight;
}NMPGCALCSIZE, *LPNMPGCALCSIZE;

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.

hdr
NMHDR structure that contains information about the notification message.
dwFlag
Value that indicates which dimension is being requested. This will be one of the following values:
PGF_CALCHEIGHT The height of the scrollable area is being requested. The height must be placed in the iHeight member before returning from the notification.
PGF_CALCWIDTH The width of the scrollable area is being requested. The width must be placed in the iWidth member before returning from the notification.
iWidth
Receives the desired width of the scrollable area, in pixels.
iHeight
Receives the desired height of the scrollable area, in pixels.

Version 4.71


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.