The new Office2007 Ribbonbar - Are there pushlike checkboxes for it?
-
I need a control for the new ribbon bar that looks like a button but behaves like a checkbox (i.e. a pushlike checkbox). In VC6 I could do that with the BS_AUTOCHECKBOX|BS_PUSHLIKE styles, but I can't find a ribbon button with the same behavior, and the new CMFCRibbonButton and CMFCRibbonCheckBox aren't real windows (they don't have hwnds), so I can't just add the styles.
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal
-
I need a control for the new ribbon bar that looks like a button but behaves like a checkbox (i.e. a pushlike checkbox). In VC6 I could do that with the BS_AUTOCHECKBOX|BS_PUSHLIKE styles, but I can't find a ribbon button with the same behavior, and the new CMFCRibbonButton and CMFCRibbonCheckBox aren't real windows (they don't have hwnds), so I can't just add the styles.
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal
-
Nevermind, I found a way to simulate that behavior with ON_UPDATE_COMMAND_UI.
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal
I would like to simulate the same, can you please help?