Re: resize events on windows form

Tech-Archive recommends: Speed Up your PC by fixing your registry



On Wed, 23 Apr 2008 07:28:49 -0700, Tarren <noemailplease@xxxxxxxxxx> wrote:

[...]
If I do it on Resize, then it tries to redraw as the form is being resized, which is not what I want. Is there some way I can get to the event and fire only after they are done resizing?

Yes. Handle the ResizeEnd event instead of Resize or SizeChanged.

Pete
.



Relevant Pages

  • Re: ListBox Owner Draw Flicker on Resize
    ... Refresh ' You have to try. ... I'm not convinced that this is going to help me to be honest, I don't want to prevent redraws, I want to prevent a flicker during resize, stopping it from redrawing completely will just mean that the control will look very bad while resizing. ... I just tried it and it stops redraw completely until enabled again, definitely not what I want to do. ... I think the problem is caused by the underlying listbox itself clearing the buffering during a resize, if it is actually double buffered, it's very poorly double buffered, I have controls that I double buffer myself and get no flicker at all so not quite sure what's going on underneath. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Why onResize fires 3 times when I re-size the window?
    ... because it fires as you're resizing it, and not just at the end of the ... IE 6+ will fire the resize event continuously. ... On windows both of these depend on the OS setting show window contents ...
    (comp.lang.javascript)
  • Re: Slow GUI
    ... My GUI gets pretty much slower the more elements it contains, ... to redraw the resized elements.) ... Why do you resize you window? ...
    (comp.soft-sys.matlab)
  • Re: resize events on windows form
    ... I am trying to get access to the event after a window has been resized. ... If I do it on Resize, then it tries to redraw as the form is being resized, ... perform your resizing code. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [9fans] p9p OS X native resize
    ... It should show a transparent outline while you drag and redraw when you let ... go.What happens when you try to resize the window? ...
    (comp.os.plan9)