Call center available M-F 9:00 - 6:00 US Eastern Time.
U.S. and Canada
(877) 723-1442
International
(517) 625-5729
Email
Applying the Office 2007 Skin
First a skin must be loaded before it can be applied to your application. The LoadSkin method
loads a skin from a .cjstyles or .msstyles file.
The Office 2007 skin is located in the Office2007.cjstyles skin file and is loaded using the
NormalOffice2007.ini file name.
'Loads the NormalOffice2007.ini skin
SkinFramework.LoadSkin App.Path + _
XTPSkinManager()->LoadSkin(_T("..\..\..\Styles\WinXP.Luna.cjstyles"),
_T("NormalBlue.ini"));
By default, the skin framework will automatically skin all child windows of your application. If you do not want this to happen you can call the SetAutoApplyNewWindows method to specify that all windows will not automatically receive the skin. You can then individually specify which windows will receive the skin by using the ApplyWindow method.
XTPSkinManager()->SetAutoApplyNewWindows(FALSE);
XTPSkinManager()->ApplyWindow(pWnd->GetSafeHwnd());