Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTEditListBox drawing bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTEditListBox drawing bug

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: CXTEditListBox drawing bug
    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.)
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 05 June 2007 at 4:06am
Still no idea of what might be causing this?
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: 06 June 2007 at 1:28am
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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2007 at 7:07pm

Or you could call it the curse of perfectionism :)

Thanks. Keep up the good work
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.