How to insert a check-Box in CMFCToolBar?

  • Thread starter Thread starter Lily Garda
  • Start date Start date
L

Lily Garda

Guest
In my programme, I need to insert a check box button, which should display with a rectangle in front of text as a normal check button.

But I didn't find a derived checkbox button from CMFCToolBarButton so that I couldn't use insert() method to add a checkbox button in CMFCToolBar.

And for CMFCToolBar , in SetButtonStyle(nButtonId, TBBS_CHECKBOX) method, TBBS_CHECKBOX doesn't work as well. Even I set TBBS_CHECKBOX style the button still behaves like a normal one. Is there any way to solve it?

Many thanks!!

Continue reading...
 
Back
Top