Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPSkinManager::SetAutoApplyNewWindows() problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPSkinManager::SetAutoApplyNewWindows() problem

 Post Reply Post Reply
Author
Message
gernot View Drop Down
Newbie
Newbie
Avatar

Joined: 20 June 2006
Location: Austria
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote gernot Quote  Post ReplyReply Direct Link To This Post Topic: CXTPSkinManager::SetAutoApplyNewWindows() problem
    Posted: 14 October 2006 at 9:49am
Hi,
 
I am working with ToolkitPro v.10.2. My main dialog has Office 2007 style. After creation I call  XTPSkinManager()->SetAutoApplyNewWindows(FALSE), so descendant windows will not have this style.
 
1. Descendant windows' captions, tab controls, resize bitmap, etc. will be corrupted, unless I also call XTPSkinManager()->SetApplyOptions(xtpSkinApplyMetrics|xtpSkinApplyFrame), i.e. I remove the xtpSkinApplyColors option.
 
2. Removing xtpSkinApplyColors option will make listbox headers grey, even in the main dialog.
 
How do I achieve both, correct style for the main window, and no style modification at all for descendant windows?
 
Thanks,
Gernot
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.