![]() |
How to skin MSDI sample |
Post Reply
|
| Author | |
gpsunjp
Newbie
Joined: 07 April 2005 Location: Benin Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: How to skin MSDI samplePosted: 21 February 2010 at 9:38am |
|
Hi,
I want to skin MSDI sample. But when I add the following code to CMainframe::OnCreate(), the second thread application will crash. Is there someone know how to solbe this problem? Thanks, G.P. Sun |
|
![]() |
|
gpsunjp
Newbie
Joined: 07 April 2005 Location: Benin Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 February 2010 at 9:40am |
|
The added code
================================================= #ifdef _XTP_INCLUDE_SKINFRAMEWORK XTPSkinManager()->LoadSkin(NULL, _T("NORMALBLACK.INI")); #endif ============================================== |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 February 2010 at 3:17am |
|
Hello,
Replace to
XTPSkinManager()->LoadSkin("Styles\\Vista.cjstyles", _T("NORMALBLACK.INI"));
and move from OnCreate to constructor.
and check you have this file in bin\Styles folder. (or just compile any sample from Skifnramework folder - they will copy them)
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
gpsunjp
Newbie
Joined: 07 April 2005 Location: Benin Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 February 2010 at 8:59am |
|
Hello
Thank you for your quick reply. I did as you taught. I still didn't resolve this problem. It is no problem for single threaded application. But for Multithreaded application, the second or third thread application started from the before thread application will crash. I will appreciate if you could give me the skinned MSDI Sample. G. P. Sun |
|
![]() |
|
juancarlos
Newbie
Joined: 05 April 2010 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 April 2010 at 3:13am |
|
Same problem here. Do you have any progress solving it?
thank you. |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |