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. Image for the cookie policy date
close icon

Flickering when using the ProgressBarStatusBar object

I used the example (a link from this site) for a ProgressBarStatusBar object. The problem I am running into is updating the value of the progress bar. Just updating the value member of the object does not display it to the screen, so I have to use either Invalidate() and Update() or just Refresh(). The problem is that I have to use these methods at the status bar object level, not the panel level, which is really what I want to update/refresh. I am using this progress bar as a central progress bar that can be called from various components (DLLs). I have also tried double buffering, but since this status bar object is a component, it does not allow me to use the SetStyle() calls. Any help you could give me would be appreciated. Karl

Live Chat Icon For mobile
Up arrow icon