Hello All,
I would have one question: In VS2013, using the wizard, I have created a small MFC project that contain a ribbon. You already know that in this case VS create automatically several files (View, Doc, MainFrm, etc.). If I create the ribbon message map in one of these files that was created automatically the buttons from ribbon appear enabled, BUT if I create the message map in a class created manually by me, all buttons appear disabled. Why? I want that for each group of buttons of the ribbon to have a separate class. I can't put all methods of the buttons in a single class, it's not elegant.
Thank you very much!
Michael.
What I have tried:
pCmdUI->Enable(true); put in ON_UPDATE_COMMAND_UI doesn't have any effect.