BUG (Repaint/Refresh problem) |
Post Reply |
Author | |
Onur
Groupie Joined: 17 August 2005 Status: Offline Points: 37 |
Post Options
Thanks(0)
Posted: 10 June 2008 at 10:15pm |
Hi,
I found a bug about repainting in the commandbars control. Here is the scenario to reproduce: 1. Set the commandbars visual theme to XTPVisualTheme.xtpThemeOffice2003 2. Set the STDCOLOR_BTNFACE color to red or smth.. via SetSpecialColor method But the control is not repainted... I tried to refresh/invalidate the form, commandbars... didn't help.. ...also tried CommandBars.RecalcLayout() .. still nothing.. IF you restart the application OR at run-time, right-click the commandbars and click customize; then you get the result.. it is repainted.. but I couldn't find a workaround to do this programmatically.. ..and one more thing: this repainting problem does not occur with every visualtheme.. it occurs with XTPVisualTheme.xtpThemeOffice2003 and a couple of other themes.. Please inform or confirm.. thanks.. |
|
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 2 Language: Visual C# .NET |
|
Onur
Groupie Joined: 17 August 2005 Status: Offline Points: 37 |
Post Options
Thanks(0)
|
anyone?.. staff?..
|
|
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 2 Language: Visual C# .NET |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Try to set VisualStheme after you change color.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Onur
Groupie Joined: 17 August 2005 Status: Offline Points: 37 |
Post Options
Thanks(0)
|
No.. It doesn't work..
Just try to reproduce the problem according to my previous post and you'll see the problem.. |
|
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 2 Language: Visual C# .NET |
|
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 |