visual c++ - Is it possible to add a pair of radio buttons to MFC Ribbon bar? -
is possible add pair of radio buttons mfc ribbon bar , how?
i achieve same check box, prefer radio buttons, becuase give clearer clues user effects of options.
no, far i'm aware. usual way simulate behavior check boxes. need manually control behavior in appropriate onupdate message handler:
void cc3splicitview::onupdatetobe(ccmdui *pcmdui) { pcmdui->setcheck(m_btobe); } void cc3splicitview::onupdateornottobe(ccmdui *pcmdui) { pcmdui->setcheck(!m_btobe); }
Comments
Post a Comment