NMPGSCROLL structure
Contains and receives information that the pager control uses when scrolling the contained window. It is used with the PGN_SCROLL notification.
Syntax
typedef struct { NMHDR hdr; BOOL fwKeys; RECT rcParent; int iDir; int iXpos; int iYpos; int iScroll; } NMPGSCROLL, *LPNMPGSCROLL;
Members
- hdr
-
Type: NMHDR
-
NMHDR structure that contains information about the notification.
- fwKeys
-
Type: BOOL
-
Modifier keys that are down when the scroll occurs. This can be one or more of the following values:
Value Meaning - 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
-
Type: RECT
-
Contains the client rectangle of the pager control.
- iDir
-
Type: int
-
Value that indicates in which direction the scroll is occurring. This will be one of the following values:
- iXpos
-
Type: int
-
Contains the horizontal scroll position of the contained window, in pixels, before the scroll action.
- iYpos
-
Type: int
-
Contains the vertical scroll position of the contained window, in pixels, before the scroll action.
- iScroll
-
Type: int
-
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.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
Send comments about this topic to Microsoft
Build date: 10/27/2012
