This documentation is archived and is not being maintained.

CWnd::GetCheckedRadioButton

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

int GetCheckedRadioButton( 
   int nIDFirstButton, 
   int nIDLastButton  
);

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.

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

Header: afxwin.h

Show: