Aero-themed Vista has invisible frame caption. |
Post Reply |
Author | |
ddlittle
Senior Member Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
Post Options
Thanks(0)
Posted: 19 February 2009 at 4:22pm |
And not opaque like it's supposed to be. it just isn't there. If I open my app, then close the window behind it, whatever was on the screen remains where the frame's caption is. Very weird. It works fine on Vista Basic theme and on XP.
Any ideas?
Thanks!
Here's my CMainframe::OnCreate() code:
BOOL is_Skin_loaded = XTPSkinManager()->LoadSkin(m_strStylesPath + _T("vista.cjstyles"),_T("NormalBlack2.ini")); if(is_Skin_loaded) { XTPSkinManager()->SetApplyOptions(xtpSkinApplyMetrics | xtpSkinApplyFrame | xtpSkinApplyColors | xtpSkinApplyMenus); XTPSkinManager()->SetAutoApplyNewWindows(TRUE); XTPSkinManager()->SetAutoApplyNewThreads(TRUE); XTPSkinManager()->EnableCurrentThread(); XTPSkinManager()->RedrawAllControls(); }
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Try to move this code to constructor.
|
|
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 |