CXTEditListBox drawing bug |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 22 May 2007 at 8:09am |
I got a little surprise when I ran my application for the 100th time or so. Suddenly, the toolbar of my CXTEditListBox was not painted as before. This erroneous behavior only occurred ONCE, and never again. Luckily, I took a screenshot:
Above is what I usually see, and below is what I saw this one time. I actually think the style below looks better.
Please note that I did not change my code in any way (I use LBS_XT_DEFAULT), which is why I believe this is indeed a drawing bug.
(I'm using Vista-skinning, as you can see.)
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Still no idea of what might be causing this?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
You right :( if user deside to change visual theme in Windows display settings, button theme will be changed. (Fixed now).
If you like second theme add
m_editList.GetEditGroup().GetNewButton().SetTheme(new CXTButtonTheme());
m_editList.GetEditGroup().GetDeleteButton().SetTheme(new CXTButtonTheme()); m_editList.GetEditGroup().GetUpButton().SetTheme(new CXTButtonTheme()); m_editList.GetEditGroup().GetDownButton().SetTheme(new CXTButtonTheme()); Thanks. You are betatester number 1.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Or you could call it the curse of perfectionism :) Thanks. Keep up the good work
|
|
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 |