BM_GETCHECK (Windows CE 5.0)
This message is sent by an application to retrieve the check state of a radio button or check box.
BM_GETCHECKwParam = 0;lParam = 0;
Parameters
- wParam
Not used. - lParam
Not used.
Return Values
A button created with the BS_AUTOCHECKBOX, BS_AUTORADIOBUTTON, BS_AUTO3STATE, BS_CHECKBOX, BS_RADIOBUTTON, or BS_3STATE returns one of the values described in the following table.
Value | Description |
---|---|
BST_CHECKED | The button is checked. |
BST_INDETERMINATE | The button is grayed, indicating an indeterminate state (applies only if the button has the BS_3STATE or BS_AUTO3STATE style). |
BST_UNCHECKED | The button is unchecked. |
If the button has any other style, the return value is zero.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.
See Also
BM_GETSTATE | BM_SETCHECK | Buttons Messages
Send Feedback on this topic to the authors