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.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::CheckRadioButton

Concepts

CWnd Members