Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Aero-themed Vista has invisible frame caption.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Aero-themed Vista has invisible frame caption.

 Post Reply Post Reply
Author
Message
ddlittle View Drop Down
Senior Member
Senior Member


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post Topic: Aero-themed Vista has invisible frame caption.
    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();

}
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2009 at 1:30am
Hi,
 
Try to move this code to constructor.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.