PGM_GETBUTTONSTATE message

Retrieves the state of the specified button in a pager control. You can send this message explicitly or use the Pager_GetButtonState macro.

Parameters

wParam
Must be zero.
lParam

Indicates which button to retrieve the state for. This can be one of the following values:

ValueMeaning
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.

 

Return value

Returns the state of the button specified in lParam. This will be one or more of the following values (if more then one value is returned they will be combined using a bitwise OR):

Return codeDescription
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.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft