![]() |
CXTPControlEdit painting problem |
Post Reply ![]() |
Author | |
Tsenoh ![]() Groupie ![]() ![]() Joined: 08 November 2006 Status: Offline Points: 69 |
![]() ![]() ![]() ![]() ![]() 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! |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
What OS is it ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Tsenoh ![]() Groupie ![]() ![]() Joined: 08 November 2006 Status: Offline Points: 69 |
![]() ![]() ![]() ![]() ![]() |
I've tested it on XP Home Edition and XP Professional x64 Edition (32-bit mode). (Both with the newest updates)
|
|
![]() |
|
Tsenoh ![]() Groupie ![]() ![]() Joined: 08 November 2006 Status: Offline Points: 69 |
![]() ![]() ![]() ![]() ![]() |
Addition:
In the meantime I tested it on Vista too, but the result is the same.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Tsenoh ![]() Groupie ![]() ![]() Joined: 08 November 2006 Status: Offline Points: 69 |
![]() ![]() ![]() ![]() ![]() |
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!
|
|
![]() |
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 |