-
Controls Flickering
My application is runs without any external dependencies like .dlls.
When I run my app, the controls flicker on as it loads. It's not terrible, but it's annoying and kind of takes down from the professionalism. I was trying to figure out what was causing it and found out that it was my background image.
My background image is a jpeg and I guess it is too large. Is there a way I can get it to load the image better so my controls don't flicker or maybe use a different file type that is smaller?
Thanks
-
Re: Controls Flickering
Not really. The system Windows uses to draw Windows Forms applications is called GDI+ and it's a slug when it comes to graphics, especially compared to DirectX and WPF (which uses DirectX behind the scenes). You can try setting "DoubleBuffered = True" on your form. It may help some.
-
Re: Controls Flickering
I already turned double buffering on and it helps a little bit. But it's still not as good as I would like it
-
Re: Controls Flickering
It seems my background picture was set as tile, so it was loading more than it should. I set it to center and with double buffering, it works a whole lot better. Still not perfect, but tolerable.
Thanks :D