CheckRadioButton
This function adds a check mark to a specified radio button in a group and removes a check mark from all other radio buttons in the group.
BOOL CheckRadioButton(
HWND hDlg,
int nIDFirstButton,
int nIDLastButton,
int nIDCheckButton);
Parameters
- hDlg
[in] Handle to the dialog box that contains the radio button. - nIDFirstButton
[in] Specifies the identifier of the first radio button in the group. - nIDLastButton
[in] Specifies the identifier of the last radio button in the group. - nIDCheckButton
[in] Specifies the identifier of the radio button to select.
Return Values
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
Remarks
The CheckRadioButton function sends a BM_SETCHECK message to each of the radio buttons in the indicated group.
Requirements
| Runs On | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 1.0 and later | Winuser.h | Dlgmgr.lib |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.