NMPGSCROLLNMPGSCROLL*
*Contents  *Index  *Topic Contents
*Previous Topic: NMPGCALCSIZE
*Next Topic: Progress Bar Control

NMPGSCROLL


typedef struct {
    NMHDR hdr;
    BOOL fwKeys;
    RECT rcParent;
    int  iDir;
    int  iXpos;
    int  iYpos;
    int  iScroll;
}NMPGSCROLL, *LPNMPGSCROLL;

Contains and receives information that the pager control uses when scrolling the contained window. It is used with the PGN_SCROLL notification.

hdr
NMHDR structure that contains information about the notification message.
fwKeys
Modifier keys that are down when the scroll occurs. This can be one or more of the following values:
0 None of the modifier keys are down.
PGK_SHIFT The SHIFT key is down.
PGK_CONTROL The CONTROL key is down.
PGK_MENU The ALT key is down.
rcParent
Contains the client rectangle of the pager control.
iDir
Value that indicates in which direction the scroll is occurring. This will be one of the following values:
PGF_SCROLLDOWN The contained window is being scrolled down.
PGF_SCROLLLEFT The contained window is being scrolled to the left.
PGF_SCROLLRIGHT The contained window is being scrolled to the right.
PGF_SCROLLUP The contained window is being scrolled up.
iXpos
Contains the horizontal scroll position of the contained window, in pixels, before the scroll action.
iYpos
Contains the vertical scroll position of the contained window, in pixels, before the scroll action.
iScroll
On entry, contains the default scroll delta in pixels. This member can be modified to contain a different scroll delta amount if desired. This value is always positive, regardless of the scroll direction.

Version 4.71


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