![]() |
basic skin questions |
Post Reply ![]() |
Author | |
dalai ![]() Groupie ![]() Joined: 07 January 2011 Status: Offline Points: 36 |
![]() ![]() ![]() ![]() ![]() Posted: 26 April 2012 at 9:11am |
Looking at sample SkinControls and have 3 questions: 1. in CSkinControlsDlg::CSkinControlsDlg and in XTPSkinManager()->LoadSkin(m_strStylesPath + _T("Vista.cjstyles"), _T("NormalBlack2.ini")); where is file NormalBlack2.ini? 2. when running SkinControls it creates \bin\vc100\Styles folder and would like to know where the code is that does this? 3. want to avoid installing .cjstyles files and have looked at https://forum.codejock.com/forum_posts.asp?TID=9783&title=load-style-without-cjstylesfiles but cannot find any info about putting the needed rc-files in your rc2-file and using them? |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
2. It's a custom build step: ![]() 3. Here is a better link:
|
|
![]() |
|
dalai ![]() Groupie ![]() Joined: 07 January 2011 Status: Offline Points: 36 |
![]() ![]() ![]() ![]() ![]() |
have added/included vista.rc alongside in CodejockSample.rc in .rc2 #include "CodejockSample.rc" #include "Vista.rc" and XTPSkinManager()->LoadSkin(NULL, _T("NormalBlack2.ini")); in CReportDialogExDlg::CReportDialogExDlg but nothing happens. am I missing so something? |
|
![]() |
|
dalai ![]() Groupie ![]() Joined: 07 January 2011 Status: Offline Points: 36 |
![]() ![]() ![]() ![]() ![]() |
it would probably make life easier if there was a sample project?
|
|
![]() |
|
dalai ![]() Groupie ![]() Joined: 07 January 2011 Status: Offline Points: 36 |
![]() ![]() ![]() ![]() ![]() |
ok this works ... have added/included vista.rc alongside in CodejockSample.rc in .rc2 #include "CodejockSample.rc" and in constructor XTPSkinManager()->GetResourceFile()->SetModuleHandle(AfxGetInstanceHandle()); |
|
![]() |
|
blaider ![]() Newbie ![]() Joined: 17 November 2012 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
thx
|
|
![]() |
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 |