Print Page | Close Window

CXTPControlEdit painting problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=7845
Printed Date: 03 March 2025 at 6:01am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPControlEdit painting problem
Posted By: Tsenoh
Subject: CXTPControlEdit painting problem
Date Posted: 21 August 2007 at 12:48pm
I inserted an edit control in the quick access bar. When I switch between applications, and then back to my application, the edit control is sometimes not properly painted. Here are the screenshots:

Painted:


Not Painted:


Blue color that appears instead of the edit control is the color of dialog background (BTN_FACE).

Does anyone have any ideas what causes this problem?

Thanks!



Replies:
Posted By: Oleg
Date Posted: 21 August 2007 at 2:12pm
Hi,
 
What OS is it ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Tsenoh
Date Posted: 22 August 2007 at 8:58am
I've tested it on XP Home Edition and XP Professional x64 Edition (32-bit mode).  (Both with the newest updates)


Posted By: Tsenoh
Date Posted: 22 August 2007 at 10:24am
Addition:
In the meantime I tested it on Vista too, but the result is the same.


Posted By: Oleg
Date Posted: 22 August 2007 at 12:44pm
Hi,
 
Can you open our RibbonSample, move some edit or Combo to quick Access and check if you see it.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Tsenoh
Date Posted: 23 August 2007 at 6:35am
It seems to be working fine in the RibbonSample.
I've debugged my application into CXTPCommandBarAnimation::OnPaint, and found that when the memory DC is copied to the paint DC, everything except the edit box is shown on the screen. I don't know how is that possible.
 
Any idea where I should look?
 
Thanks!



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