Print Page | Close Window

Change Dialog Skin

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=11511
Printed Date: 15 November 2024 at 10:02pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change Dialog Skin
Posted By: Ahhh
Subject: Change Dialog Skin
Date Posted: 21 July 2008 at 7:54am

   Hi, All!

  I want to change the dialog skin to looks like Office 2007.
  I just added follow code in CDialog::OnCreate()

         XTPSkinManager()->LoadSkin("Office2007.cjstyles");

  You can look this result.

 


  TitleBar and border color is not changed.

  How can I solve this problem?
  I don't want to use CXTP classes.

  I need your help.
 
     Regards



Replies:
Posted By: Oleg
Date Posted: 21 July 2008 at 11:54am
Hi,
 
move it to constructor.


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


Posted By: Ahhh
Date Posted: 21 July 2008 at 12:40pm

   Oh, Thanks.

   Great!!!

   But I don't know the reason that why it works?
   Could you tell me how can it works?

   I always thank you for your help.
   Regards.



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