Pager_GetButtonState macro (commctrl.h)
Retrieves the state of the specified button in a pager control. You can use this macro or send the PGM_GETBUTTONSTATE message explicitly.
Syntax
DWORD Pager_GetButtonState(
HWND hwnd,
int iButton
);
Parameters
hwnd
Type: HWND
Handle to the pager control.
iButton
Type: int
Indicates which button to retrieve the state for. See the description for iButton in PGM_GETBUTTONSTATE for a list of possible values.
Return value
Type: DWORD
Returns the state of the button specified in iButton. See the return value description in PGM_GETBUTTONSTATE for a list of possible values.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |