Print Page | Close Window

CXTEditListBox drawing bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7205
Printed Date: 09 June 2024 at 11:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTEditListBox drawing bug
Posted By: znakeeye
Subject: CXTEditListBox drawing bug
Date 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.)



Replies:
Posted By: znakeeye
Date Posted: 05 June 2007 at 4:06am
Still no idea of what might be causing this?


Posted By: Oleg
Date 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


Posted By: znakeeye
Date Posted: 06 June 2007 at 7:07pm

Or you could call it the curse of perfectionism :)

Thanks. Keep up the good work



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