Pager_GetButtonState macro

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 hwndPager,
   int  iButton
);

Parameters

hwndPager

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

Returns the state of the button specified in iButton. See the return value description in PGM_GETBUTTONSTATE for a list of possible values.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: