Print Page | Close Window

How to deploy SKIN framework / Style Folder?

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=12706
Printed Date: 16 September 2024 at 3:53pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to deploy SKIN framework / Style Folder?
Posted By: prashant
Subject: How to deploy SKIN framework / Style Folder?
Date Posted: 18 November 2008 at 1:03am
Hi Oleg,

I implemented Skin in my application. Presently I am keeping "Style" folder in "Debug" folder.

Is it necessary to deploy Style folder with my application? Is there any article mentioning usage of Skin framework while deploying application?

Thanks.



Replies:
Posted By: Oleg
Date Posted: 18 November 2008 at 3:56am
Hi,
 
Yes, you have include styles folder.
 
If you use our default skins you can include them to exe.
 
1. In rc2 file add
#include "SkinFramework\Styles\Vista\Vista.rc"
2. In code add
XTPSkinManager()->GetResourceFile()->SetModuleHandle(AfxGetInstanceHandle());
XTPSkinManager()->LoadSkin(NULL, _T("NORMALBLUE.INI"));
 


-------------
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