Hi,
I have couple of office 2010 based styles and few are old. I want application to change the application menu (Old office 2007 based round menu on top left corner) to file menu (new office 2010 based file menu) when i select 2010 based style and when i select old styles then application menu should appear. I am able to display file or application menus based on style but when i select 2010 it shows application menu image before file menu caption. Is there any way to hide the image when office 2010 based style is selected automatically?
Thanks,
Yasir
Hello Yasir,
Let me see if I understand your question correctly. You've got a number of Application Style Libraries which change the Style of the UltraToolbarsManager. Some of the styles use the Office2007 Orb ApplicationMenu button, while others have Office2010 File Tab. It sounds like you have an image assigned to the ApplicationMenuButtonImage, but you only want to display that image when the style of the ribbon displays the Orb menu button. Is that correct?
If so, instead of using the ApplicationMenuButtonImage property to assign the image, specify the Image on the ApplicationMenuButton UIRole on each Style Library that you want to display the image on. This will allow you to determine when the image should be used.
Let me know if this is what you were looking for or if I can be of any further assistance.
Chris