I'm trying to make a Office-style app, for some button I use ribbon editor and load it as usual.
Then I override some CMFCRibbonButton, so I must have to add it by code as shown in above lines (not by ribbon editor anymore). Everything work fine on win xp, but when I run it on win 7, it only display the buttons I added using editor. But dynamically added buttons didn't display. When I run it on win XP again, everything work fine as always.
I'm really confused now. Maybe I override but forgot something. I appreciate any ideas. Thanks for reading!
p/s: if anyone didn't understand what I ask, pls read my reply comment, if you're still confused pls let me know.
p/s: i just find out that my app work wrongly when i turn on win 7 Aero effect, if i turn it off, everything goes fine, anyone khow how to fix this.