![]() |
CXTPSkinManager::SetAutoApplyNewWindows() problem |
Post Reply
|
| Author | |
gernot
Newbie
Joined: 20 June 2006 Location: Austria Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPSkinManager::SetAutoApplyNewWindows() problemPosted: 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
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |