Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Change Dialog Skin
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change Dialog Skin

 Post Reply Post Reply
Author
Message
Ahhh View Drop Down
Newbie
Newbie


Joined: 05 March 2008
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ahhh Quote  Post ReplyReply Direct Link To This Post Topic: Change Dialog Skin
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 21 July 2008 at 11:54am
Hi,
 
move it to constructor.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Ahhh View Drop Down
Newbie
Newbie


Joined: 05 March 2008
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ahhh Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.