469,326 Members | 1,600 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,326 developers. It's quick & easy.

Is there some way in the usercontrol to surpress painting during resize

I'm geting a lot of flashing while resizing a form containing one of my
usercontrols that is docked fill.

This doesn't alway happen, depends on what is visible on the control.

Is there some way in the usercontrol to suppress painting during the resize?
Thanks

Nov 23 '05 #1
1 1195
I can see that it is the components on the usercontrol that are flashing.

In the usercontrol I tried:

Me.SetStyle(ControlStyles.DoubleBuffer, True)

Me.SetStyle(ControlStyles.AllPaintingInWmPaint, True)

but it didn't help.

" **Developer**" <RE*************@a-znet.com> wrote in message
news:uC**************@TK2MSFTNGP12.phx.gbl...
I'm geting a lot of flashing while resizing a form containing one of my
usercontrols that is docked fill.

This doesn't alway happen, depends on what is visible on the control.

Is there some way in the usercontrol to suppress painting during the
resize?
Thanks

Nov 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by J Swift | last post: by
7 posts views Thread by TT (Tom Tempelaere) | last post: by
2 posts views Thread by J Swift | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.