There is no such thing as a IUIApplicationVtbl in my Uiribbon.h header file.
I understand the logic but there is no such thing and so it won't compile.
I guess if I want to try it the C rather than C++ way I'll have to create this struct of function pointers myself.
My apologies. The reason my intellisense (and compiler itself) didn't recognise it is because they #ifdef cplusplus'd it away when actually using a C++ compiler.
Too bad it doesn't let me undo my vote of 2 and vote 5 now.
I created with Visual C++ 2010 a MFC application with ribbon. I have added buttons to this ribbon, but I do not know how to add images to these buttons. I tried editing writelarge.bmp file from the project, and setting the index of image on these buttons, but now the ribbon icons looks very ugly. Is there an easy way to add icons to ribbon images, other than editing writelarge.bmp file from the project?
I want to disable Quick Access Toolbar and to configure image (16x16) for Groups of the Tabs.
How can I do that?
How can I change the RibbonMarkup.xml?
I don't know how to set the Dialog box button too.
Can I add buttons / tabs / groups into Quick Access Toolbar but limit that funcionality for certain buttons? For example, a contextual Tab that is hidden at a certain time and it was added to QAT. How to remove it when I hide the contextual Tab?