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.

Remarks

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.

Requirements

Header: afxwin.h

See Also

Concepts

CCmdUI Class

CCmdUI Members

Hierarchy Chart

CCmdUI::SetCheck