Problem with visual appearance of combos |
Post Reply |
Author | |
pikka
Newbie Joined: 03 December 2008 Status: Offline Points: 1 |
Post Options
Thanks(0)
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.
|
|
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 |