Print Page | Close Window

CXTPSkinManager::SetAutoApplyNewWindows() problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=5290
Printed Date: 11 November 2025 at 11:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPSkinManager::SetAutoApplyNewWindows() problem
Posted By: gernot
Subject: CXTPSkinManager::SetAutoApplyNewWindows() problem
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net