Print Page | Close Window

Aero-themed Vista has invisible frame caption.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=13456
Printed Date: 18 May 2024 at 12:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Aero-themed Vista has invisible frame caption.
Posted By: ddlittle
Subject: Aero-themed Vista has invisible frame caption.
Date 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();

}
 



Replies:
Posted By: Oleg
Date Posted: 20 February 2009 at 1:30am
Hi,
 
Try to move this code to constructor.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net