By default, when the Office 2003 theme is used the Luna Colors for the currently set system theme will be used to color the Commandbars. Luna colors are the Blue, Silver, and Olive themes used in Windows XP. If you application is running on Windows XP and using the Office 2003 theme, then it will use one of the Luna themes if they are currently set. To disable this, the LunaColors property must be set to False. When disabled, the commandbars will be drawn in shades of gray as shown in the lower right window.
The code below disable Luna Colors as in the window on the left in the picture above.
CommandBars.Options.LunaColors = False
User Comments
No comments yet, sign in to comment.