Print Page | Close Window

Old Version: how to embed skins in .RC?

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=10184
Printed Date: 23 November 2024 at 9:33am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Old Version: how to embed skins in .RC?
Posted By: jamesinkster
Subject: Old Version: how to embed skins in .RC?
Date 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.






Replies:
Posted By: Oleg
Date Posted: 11 April 2008 at 1:11am
Hi,
Search in this forum. There was samples for old version.


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



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