CWnd::CheckRadioButton

Syntax

void CheckRadioButton( int nIDFirstButton, int nIDLastButton, int nIDCheckButton );

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.

nIDCheckButton

Specifies the integer identifier of the radio button to be checked.

Remarks

Checks the radio button specified by nIDCheckButton and removes the check mark from all other radio buttons in the group of buttons specified by nIDFirstButton and nIDLastButton. Checking a radio button turns the radio button on or off.

See Also

CWnd::GetCheckedRadioButton, ::CheckRadioButton