An application sends a BM_GETCHECK message to retrieve the check state of a radio button or check box.
BM_GETCHECK wParam = 0; // not used; must be zero lParam = 0; // not used; must be zero
This message has no parameters.
The return value from a button created with the BS_AUTOCHECKBOX, BS_AUTORADIOBUTTON, BS_AUTO3STATE, BS_CHECKBOX, BS_RADIOBUTTON, or BS_3STATE style can be one of the following:
Value |
Meaning |
BST_CHECKED |
Button is checked. |
BST_INDETERMINATE |
Button is grayed, indicating an indeterminate state (applies only if the button has the BS_3STATE or BS_AUTO3STATE style). |
BST_UNCHECKED |
Button is unchecked |
If the button has any other style, the return value is zero.
file: /Techref/os/win/api/win32/mess/src/msg00_20.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/11/14 15:59,
18.119.116.27:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/techref/os/win/api/win32/mess/src/msg00_20.htm"> BM_GETCHECK</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.