Print Page | Close Window

Problem with visual appearance of combos

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Visual C++ MFC
Forum Description: Topics related to Codejock Visual C++ MFC products
URL: http://forum.codejock.com/forum_posts.asp?TID=14732
Printed Date: 24 November 2024 at 4:14am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with visual appearance of combos
Posted By: pikka
Subject: Problem with visual appearance of combos
Date Posted: 13 July 2009 at 9:41am
Hello,
 
I´m experiencing some weird behaviour while drawing combos in the Default style theme.
 
In this example we can choose the appereance of combos:
...\Codejock Software\MFC\Xtreme ToolkitPro v12.0.0\Samples\Controls\FlatCombo
 
When I choose in "FlatCombo" application, the "Default" option, this code is executed:
 
m_wndFlatCombo1.DisableFlatLook(m_nTheme == 0);

XTThemeManager()->SetTheme(xtThemeDefault);

Combos appareance change to a nomal combo with a blue line border.
In my application I have written this code but default Theme obtained draws combos without this blue border.
My application is completely grey.
 
However, In my application XP and Office2003 themes are correctly represented but only in combos, the rest of the controls don't change.
( XTThemeManager()->SetTheme(xtThemeOfficeXP);
XTThemeManager()->SetTheme(xtThemeOffice2003); )
 
I don't know why the blue line borde doesn't appear in the combos and how to change the appareance of other
controls like CXTBrowseEdit for example.
Some ideas?
Thanks in advance.



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