Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - CFormView in the pane
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CFormView in the pane

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


Joined: 05 October 2008
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote andrey_dung Quote  Post ReplyReply Direct Link To This Post Topic: CFormView in the pane
    Posted: 11 October 2008 at 12:53am
Hi,
Can you tell me how to set the skin of the dialog?
It's a FormView dialog embed in the pane.


Back to Top
andrey_dung View Drop Down
Newbie
Newbie


Joined: 05 October 2008
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote andrey_dung Quote  Post ReplyReply Direct Link To This Post Posted: 11 October 2008 at 1:03am

I've tried:


    SkinFramework.LoadSkin App.Path + _

    XTPSkinManager()->LoadSkin(_T("..\..\..\Styles\WinXP.Luna.cjstyles"),

                               _T("NormalBlue.ini"));


But it doesn't work.

Thanks for your help:)

Back to Top
andrey_dung View Drop Down
Newbie
Newbie


Joined: 05 October 2008
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote andrey_dung Quote  Post ReplyReply Direct Link To This Post Posted: 12 October 2008 at 4:39am
Hi,
The problem is that you should put the Styles folder in the Debug folder so skin framework can access it :).

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: 13 October 2008 at 6:38am
Yes :)
Or better copy code from our sample - it calculates Styles path using path of exe file.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.047 seconds.