Print Page | Close Window

10.42 Problems with windows caption, dialog based

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=6281
Printed Date: 21 November 2024 at 11:36am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: 10.42 Problems with windows caption, dialog based
Posted By: lemongrass
Subject: 10.42 Problems with windows caption, dialog based
Date Posted: 31 January 2007 at 3:49am
Hi,

I've updated my dialog based application from 10.4 to 10.42, and having
the problem, that the caption (header) of the main dialog doesn't skin. Child dialogs work like a charm. With 10.4 there were no problems of this kind.

I do load the skin in the constructor of the main dialog, as stated here in this forum several time with code like this:

        if ( (IsTerminalSession() == FALSE && g_NoSkins == false) {

            XTPSkinManager()->SetApplyOptions(XTPSkinManager()->GetApplyOptions() | xtpSkinApplyMetrics | xtpSkinApplyColors);
            XTPSkinManager()->LoadSkin(m_strStylesPath + _T("Office2007.cjstyles"));

        }




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