Export (0) Print
Expand All
Expand Minimize

CWnd::GetCheckedRadioButton

Retrieves the ID of the currently checked radio button in the specified group.

int GetCheckedRadioButton(
   int nIDFirstButton,
   int nIDLastButton 
);

Parameters

nIDFirstButton
Specifies the integer identifier of the first radio button in the group.
nIDLastButton
Specifies the integer identifier of the last radio button in the group.

Return Value

ID of the checked radio button, or 0 if none is selected.

See Also

CWnd Overview | Class Members | Hierarchy Chart | CWnd::CheckRadioButton

Show:
© 2014 Microsoft