Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC
  New Posts New Posts RSS Feed - Problem with visual appearance of combos
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedProblem with visual appearance of combos

 Post Reply Post Reply
Author
Message
pikka View Drop Down
Newbie
Newbie


Joined: 03 December 2008
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote pikka Quote  Post ReplyReply Direct Link To This Post Topic: Problem with visual appearance of combos
    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.
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.172 seconds.