question

LilyGarda avatar image
0 Votes"
LilyGarda asked ·

How to insert a check Box in CMFCToolBar?

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 is also just to set the icon button checkable as a checkbox. Is there any way to solve it?

Many thanks!!

not-supported
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DSPatrick avatar image
0 Votes"
DSPatrick answered ·

I'd try asking for help in dedicated forums here.

https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral


https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=windowsforms


--please don't forget to Accept as answer if the reply is helpful--


Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management


Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.




·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.