View Full Version : Image flickering in form
c9dw2rm8
04-05-2008, 04:50 PM
Hello
I try to insert a background image to my forms
but when i try to run the application - the form is flickering
why it's happen?
I don't do any changes concerning the Background in the program
I use the VS 2005 C#
?
matsp
04-05-2008, 04:59 PM
Are you perhaps redrawing the entire image on every WM_PAINT, although only a small area is being invalidated?
--
Mats
c9dw2rm8
04-05-2008, 06:39 PM
Are you perhaps redrawing the entire image on every WM_PAINT, although only a small area is being invalidated?
--
Mats
I just choose in the properties of the form "image background"
I didn't write any code for this background?!
What the problem
It's also happen last time when i try to add Image background to other application
indigo0086
04-06-2008, 08:19 AM
Does it flicker when you say move a form atop of it or when you resize. You can set the doublebuffering property to true or manually draw to the buffer and render it within the paint event using a DoubleBufferedContext and BufferedGraphics.
c9dw2rm8
04-06-2008, 04:00 PM
Does it flicker when you say move a form atop of it or when you resize. You can set the doublebuffering property to true or manually draw to the buffer and render it within the paint event using a DoubleBufferedContext and BufferedGraphics.
When it's load the form it's flicker ?
And what is it buffering ?
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.