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 12:19, local time: 2024/8/24 14:46,
3.128.226.67: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://piclist.com/tecHREF/os/win/api/win32/mess/src/msg00_20.htm"> BM_GETCHECK</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.