We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Flicking problem with XPTaskBar

Thread ID:

Created:

Updated:

Platform:

Replies:

41174 Feb 23,2006 03:04 PM Feb 24,2006 05:45 PM Windows Forms 2
loading
Tags: Tools
Erick Thompson
Asked On February 23, 2006 03:04 PM

I have a basic SDI form that contains a UserControl. On the UserControl is another UserControl (subControl) that contains an XPTaskBar, and within the XPTaskBar are Panels that contain data bound controls (mostly TextBox and ComboBox). Everything works correctly, except that when I expand/collapse a XPTaskBarBox, the controls inside the Panel flicker quite a bit, and my CPU pegs to 100% for a second. What could be causing this flicker problem? Is there some general way to reduce the flickering? Thanks, Erick

Administrator [Syncfusion]
Replied On February 24, 2006 07:25 AM

Hi Erick, Thanks for using Essential Tools. We regret for the inconvenience caused. I was able to see the problem of flickering while using Gradient Background Colors for panels inside the XPTaskBarboxes in v4.1.0.50. I have filed a bug report with the development team, you can track the status of this issue here: http://www.syncfusion.com/support/issues/tools/Default.aspx?ToDo=view&questId=1586 We will try our very best to fix this issue at the earliest and keep you informed. Could you please try deriving the XPTaskBarBox or Panel and turn on double buffering to reduce the flickering as shown below: public class CustomXPTaskBarBox : XPTaskBarBox { public CustomXPTaskBarBox() { SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.DoubleBuffer, true); } } You could also find this information in the following link : http://www.syncfusion.com/faq/windowsforms/search/558.aspx Please let me know if this helps you. Best Regards, Seetha >I have a basic SDI form that contains a UserControl. On the UserControl is another UserControl (subControl) that contains an XPTaskBar, and within the XPTaskBar are Panels that contain data bound controls (mostly TextBox and ComboBox). Everything works correctly, except that when I expand/collapse a XPTaskBarBox, the controls inside the Panel flicker quite a bit, and my CPU pegs to 100% for a second. > >What could be causing this flicker problem? Is there some general way to reduce the flickering? > >Thanks, >Erick

Erick Thompson
Replied On February 24, 2006 05:45 PM

Seeta, I will try that when I get a chance, but for some reason, I am having a lot of problems using the derived control, as it breaks the designer. Thanks for submitting the bug. Thanks, Erick >Hi Erick, > >Thanks for using Essential Tools. > >We regret for the inconvenience caused. I was able to see the problem of flickering while using Gradient Background Colors for panels inside the XPTaskBarboxes in v4.1.0.50. > >I have filed a bug report with the development team, you can track the status of this issue here: > >http://www.syncfusion.com/support/issues/tools/Default.aspx?ToDo=view&questId=1586 > >We will try our very best to fix this issue at the earliest and keep you informed. > >Could you please try deriving the XPTaskBarBox or Panel and turn on double buffering to reduce the flickering as shown below: > > >public class CustomXPTaskBarBox : XPTaskBarBox >{ > public CustomXPTaskBarBox() > { > SetStyle(ControlStyles.UserPaint, true); > SetStyle(ControlStyles.AllPaintingInWmPaint, true); > SetStyle(ControlStyles.DoubleBuffer, true); > } >} > > >You could also find this information in the following link : > >http://www.syncfusion.com/faq/windowsforms/search/558.aspx > >Please let me know if this helps you. > >Best Regards, >Seetha > >>I have a basic SDI form that contains a UserControl. On the UserControl is another UserControl (subControl) that contains an XPTaskBar, and within the XPTaskBar are Panels that contain data bound controls (mostly TextBox and ComboBox). Everything works correctly, except that when I expand/collapse a XPTaskBarBox, the controls inside the Panel flicker quite a bit, and my CPU pegs to 100% for a second. >> >>What could be causing this flicker problem? Is there some general way to reduce the flickering? >> >>Thanks, >>Erick

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;