Groups | Blog | Home
all groups > dotnet performance > july 2003 >

dotnet performance : flickering when changing both height and top



Logan McKinley
7/23/2003 9:26:09 AM
I have a picturebox that can be resized at runtime and when both the height
and
the top change the control flickers. I am double buffering the control and
using AllPaintingInWmPaint | DoubleBuffer | UserPaint but
it is not helping.
Thanks in advance,
~Logan

Bob Powell [MVP]
7/25/2003 9:53:20 AM
How are you applying this to the control? Have you derived your own
PictureBox based control? SetStyle is a protected method so you cannot set
the style of a PictureBox control externally.

--
Bob Powell [MVP]
C#, System.Drawing

Check out the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

Buy quality Windows Forms tools
http://www.bobpowell.net/xray_tools.htm

Now offering complete web-hosting solutions
Check out my domain name, email and hosting packages.

[quoted text, click to view]

AddThis Social Bookmark Button