Avoiding Expensive Layout Computations Upon Resizing
From: Andrew (anonymous_at_discussions.microsoft.com)
Date: 03/17/04
- Next message: Javier Campos: "Re: Delegates problem"
- Previous message: Herfried K. Wagner [MVP]: "Re: Is there a way to open a HTML file in C#?"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Avoiding Expensive Layout Computations Upon Resizing"
- Reply: Herfried K. Wagner [MVP]: "Re: Avoiding Expensive Layout Computations Upon Resizing"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Mar 2004 13:31:08 -0800
When a panel or other entity gets resized by a user and her mouse where many sizes are encountered until the mouse settles down, and the layout computations are expensive, it's nice to avoid doing the layout until the mouse settles down. That way the mouse will move smoothly, like when a splitter is being moved.
I can imagine implementing this using a timer. Is that the standard method, or is there a better way?
Andrew
- Next message: Javier Campos: "Re: Delegates problem"
- Previous message: Herfried K. Wagner [MVP]: "Re: Is there a way to open a HTML file in C#?"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Avoiding Expensive Layout Computations Upon Resizing"
- Reply: Herfried K. Wagner [MVP]: "Re: Avoiding Expensive Layout Computations Upon Resizing"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|