Skinning an CXTResizeFormView |
Post Reply |
Author | |
Paddy
Groupie Joined: 28 July 2003 Status: Offline Points: 15 |
Post Options
Thanks(0)
Posted: 21 January 2009 at 4:26am |
Hi,
I try to build a SDI app with a CXTResizeFormView. But the FormView still looks gray: Can I change this? Sample is attached... Thanks in advance, Patrik uploads/20090121_042332_SkinProblem.zip |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
you don't call LoadSkin.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Paddy
Groupie Joined: 28 July 2003 Status: Offline Points: 15 |
Post Options
Thanks(0)
|
Hi Oleg,
as said it is a small sample. If I load a skin I still have the grey background. What would be the best method for using the background from the loaded skin? In my app the skin is changeable at runtime. The XTP version is 12.1.0. Greets, Patrik |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Even in small samle you have call LoadSkin :)
Add this code to constructor
CMainFrame::CMainFrame()
{ XTPSkinManager()->LoadSkin("Office2007.cjstyles"); } and add Office2007.cjstyles to your Debug folder.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |