Retrieving button stateΒΆ

The following states may be tested at run time:

button_id->state & WS_DISABLED

button_id->state & WS_INVISIBLE

button_id->state & WS_CHECKED | WS_SELECTED (identical).

button_id->state & ST_CREATED

button_id->state & ST_FOCUSED

Note that testing the state WS_CHECKED is identical to testing whether button_id->checked = TRUE.


RELATED TOPICS

Buttons

State