Contents Index Topic Contents | ||
Previous Topic: PGM_GETBUTTONSIZE Next Topic: PGM_GETDROPTARGET |
PGM_GETBUTTONSTATE
PGM_GETBUTTONSTATE wParam = 0; lParam = (LPARAM)(int)iButton;Retrieves the state of the specified button in a pager control. You can send this message explicitly or use the Pager_GetButtonState macro.
- Returns the state of the button specified in iButton. This will be one of the following values:
PGF_INVISIBLE The button is not visible. PGF_NORMAL The button is in normal state. PGF_GRAYED The button is in grayed state. PGF_DEPRESSED The button is in pressed state. PGF_HOT The button is in hot state.
- iButton
- Indicates which button to retrieve the state for. This can be one of the following values:
PGB_TOPORLEFT Indicates the top button in a PGS_VERT pager control or the left button in a PGS_HORZ pager control. PGB_BOTTOMORRIGHT Indicates the bottom button in a PGS_VERT pager control or the right button in a PGS_HORZ pager control. Version 4.71
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.