Guides & Tutorials (beta)

Applying the Office 2007 Theme

by Mike Palmatier Visual C++ Created on 05/03/2008  |  Updated on 08/28/2024 0/5 ( 0 votes )

Applying the Office 2007 theme to the Calendar can be accomplished with only a few lines of code. You also have the option to change the base color used in the theme. By default the color will be the same color blue as used in Office 2007.

Start by instantiating a CalendarThemeOffice2007 object.

//Create a new Office 2007 theme object
CXTPCalendarThemeOffice2007* pTheme2007 = new CXTPCalendarThemeOffice2007;

Next you can optionally define the base color used in the Office 2007 theme.

//This will give a default "gray" base color
pTheme2007->m_clrBaseColor = RGB(22,22,22);

Now apply the new Office 2007 theme to the Calendar.

//Apply the Office 2007 theme to the Calendar
GetCalendarCtrl().SetTheme(pTheme2007);

Office 2007 Theme

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.