Guides & Tutorials (beta)

Enabling the Office 2003 Luna Colors when Running in Windows 2000 and Earlier

by Mike Palmatier Visual Basic 6 Created on 10/21/2005  |  Updated on 07/30/2024 0/5 ( 0 votes )

The CommandBarsGlobalSettings object allows you to override the default 'grey' system colors that are used for the Office 2003 theme when running you application in Windows 2000 and earlier. To do this, you must change the color in the Form_Initialize event. In addition to the Window XP blue system them, you can use the Silver and Olive Windows XP system theme colors as well.

The picture below shows a toolbar with the 'Blue' Windows XP System Theme Colors applied.

tutorial

The picture below shows a toolbar with the 'Silver'Windows XP System Theme Colors applied.

tutorial

The picture below shows a toolbar with the 'Olive' Windows XP System Theme Colors applied.

tutorial

The code below illustrates how to override the default system colors that are used when running you application under Windows 2000 and below.

Private Sub Form_Initialize()
   CommandBarsGlobalSettings.ColorManager.SystemTheme _
   = xtpSystemThemeBlue
End Sub

User Comments

No comments yet, sign in to comment.

New Year Sale 2025

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.