R
RD Holland
Guest
I need to modify an app that uses the MFC ribbon system. I just need to load an icon when the application starts up and replace the icon used by one of the CMFCRibbonButton objects. I have managed to walk the categories to find the object I want to modify. I have been able to modify the text, tooltip and description. I have loaded my small and large icons from an external source. But, I can't find a way to set the m_hIcon and m_hIconSmall members I see in the watch window as they are protected members of the class. Nor do I see a "Set" method for either. I did find SetImageIndex but not how to use it in my context since I am essentially "overriding" the image in the glyph for the category the button is in.
R.D. Holland
Continue reading...
R.D. Holland
Continue reading...