|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
CheckRadioButton
The CheckRadioButton function adds a check mark to (checks) a specified radio button in a group
and removes a check mark from (clears) all other radio buttons in the group.
BOOL CheckRadioButton(
HWND hDlg,
| // handle to dialog box
| int nIDFirstButton,
| // identifier of first radio button in group
| int nIDLastButton,
| // identifier of last radio button in group
| int nIDCheckButton
| // identifier of radio button to select
| );
|
|
Parameters
hDlg
Identifies the dialog box that contains the radio button.
nIDFirstButton
Specifies the identifier of the first radio button in the group.
nIDLastButton
Specifies the identifier of the last radio button in the group.
nIDCheckButton
Specifies the identifier of the radio button to select.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. 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.
See Also
BM_SETCHECK, CheckDlgButton, IsDlgButtonChecked
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|