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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -