Guides & Tutorials (beta)

Disabling Luna Colors When using the Office 2003 Theme

by Mike Palmatier Visual Basic 6 Created on 01/31/2008  |  Updated on 07/30/2024 0/5 ( 0 votes )

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.

Luna Theme Disabled

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.

Secure Transactions

Online transactions are secure and protected.


Ssl seal 1
This site is protected by Trustwave's Trusted Commerce program
CompliAssure Secured

Money Back Guarantee

If you are not 100% happy with your purchase within 30 days, you can return it for any reason. Your satisfaction is our priority!


Satisfication Guarantee

Contact sales@codejock.com for more details.