Print Page | Close Window

Skin Manager, SetAutoApplyNewWindows

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=4074
Printed Date: 10 November 2025 at 10:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Skin Manager, SetAutoApplyNewWindows
Posted By: ABuenger
Subject: Skin Manager, SetAutoApplyNewWindows
Date Posted: 27 April 2006 at 11:21am

If you add the following two lines to the Skin MDI sample new MDI child windows will not get skinned anymore. Also the hyperlinks and the OK button in the About dialog will get skinned although it is disabled.

void CSkinMDISampleApp::OnAppAbout()
{
 CAboutDlg aboutDlg;
 XTPSkinManager()->SetAutoApplyNewWindows (FALSE);
 aboutDlg.DoModal();
 XTPSkinManager()->SetAutoApplyNewWindows (TRUE);
}

Just add the two lines, click on About and then New.

 




Replies:
Posted By: ABuenger
Date Posted: 27 April 2006 at 11:24am



Posted By: ABuenger
Date Posted: 08 May 2006 at 12:17pm

I would like to know wheter this is a bug or if I misuse SetAutoApplyNewWindows.

Button icons doesn't work with the SkinFramework 10.1, so I have to disable it for the property sheet (Office 2007 also doesn't skin the dialogs), if I do this using SetAutoApplyNewWindows new MDI child windows don't get skinned properly anymore (See above).



Posted By: Oleg
Date Posted: 08 May 2006 at 3:41pm

Hi,

This problem fixed for next release. If you don't linke color of dialog face, you can just change it in Styles\Office2007\res\Office2007_Normal.ini:

Btnface = xx xx xx



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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