Click here to Skip to main content
12,556,077 members (59,890 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ MFC

I have a button in a Ribbon and I add a menu with some items. I would like to display a checkbox icon in front of the menu item when a given option is selected.
For exemple, I have an item 'Manual' and an item 'Automatic'. I would like to have the checkbox icon displayed in the menu 'Manual' when the member m_bManual is true.
Thanks for any code to do that ...

Posted 11-Nov-12 21:28pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

See here[^].
UrbanBlues 12-Nov-12 5:57am
Thanks but these are standard checkboxes in a Ribbon... What I would like to do is use a button with a menu and show/hide the icons associated with the menu items....
Richard MacCutchan 12-Nov-12 6:26am
Sorry, I think this link has information about dynamic configuration.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161021.1 | Last Updated 12 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100