How i can skin CPropertySheet |
Post Reply |
Author | |
andrew2008
Newbie Joined: 06 March 2008 Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 06 March 2008 at 5:35am |
I have MFC CPropertySheet based SDI application.
How I can skin PropertySheet? If i do next class CPSSomeName : public CPropertySheet { .... protected: virtual BOOL OnInitDialog(); ... } BOOL CPSSomeName ::OnInitDialog() { .... XTPSkinManager()->LoadSkin(csStylesPath + _T("Vista.cjstyles")); RedrawWindow( 0, 0, RDW_INVALIDATE|RDW_UPDATENOW|RDW_ERASE|RDW_ALLCHILDREN); } After that i have skined PropertyPage's but not PropertySheet. How I can skin PropertyPage? P.S. I use Xtreme ToolkitPro v11.1.3 |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Not sure if this will help, but try putting the call to LoadSkin in the constructor instead. This is how it is done in all the samples...
|
|
andrew2008
Newbie Joined: 06 March 2008 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Thank you! It's work! |
|
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 |