This documentation is archived and is not being maintained.

CCmdUI::SetRadio 

Call this member function to set the user-interface item for this command to the appropriate check state.


virtual void SetRadio(
   BOOL bOn = TRUE 
);

Parameters

bOn

TRUE to enable the item; otherwise FALSE.

This member function operates like SetCheck, except that it operates on user-interface items acting as part of a radio group. Unchecking the other items in the group is not automatic unless the items themselves maintain the radio-group behavior.

Show: