Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Old Version: how to embed skins in .RC?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Old Version: how to embed skins in .RC?

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


Joined: 31 March 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamesinkster Quote  Post ReplyReply Direct Link To This Post Topic: Old Version: how to embed skins in .RC?
    Posted: 10 April 2008 at 7:07pm
Hi,

We're using an old version of the product -- 11.1.0 (hopefully the gears will start turning and we can upgrade soon...).

I would like to embed a skin inside my .RC file and load it up something like this sample code i've seen floating around the forums...

XTPSkinManager()->GetResourceFile()->SetModuleHandle(AfxGetInstanceHandle());
XTPSkinManager()->LoadSkin(NULL, "MySkin.INI")

However, it seems that the 11.1.0 version of CXTPSkinManagerResourceFile doesn't have SetModuleHandle()?

How can I work around this?

Thanks,
james.



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: 11 April 2008 at 1:11am
Hi,
Search in this forum. There was samples for old version.
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.141 seconds.