When my form resizes the entire window needs to be to be invalidated.
However, invalidating the entire form results in an ugly blinking effect. I
would imagine there is a simple solution to this but searching the Net I
couldn't find anything relating to this issue.
Any ideas or links to more information would be greatly appreciated
-Alex Glass
* "Alex Glass" <force010@hotmail.com> scripsit:
> When my form resizes the entire window needs to be to be invalidated.
> However, invalidating the entire form results in an ugly blinking effect. I
> would imagine there is a simple solution to this but searching the Net I
> couldn't find anything relating to this issue.
What do you want to do? Preventing the from from invalidating?

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/
Alex Glass - 09 Sep 2004 16:15 GMT
I want to invalidate the form, but when the user is dragging at the side of
the window, the invalidate function gets called multiple times in a short
timeframe and this causes a nasty blinking effect.
Heres the resize function:
Private Sub DrawTest_Resize(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Resize
' Code To Redraw Window Goes Here
' Force a Window repaint
Invalidate()
End If
> * "Alex Glass" <force010@hotmail.com> scripsit:
> > When my form resizes the entire window needs to be to be invalidated.
[quoted text clipped - 3 lines]
>
> What do you want to do? Preventing the from from invalidating?