Stopping redrawing contents when resizing window ?
Stopping redrawing contents when resizing window ?
- Subject: Stopping redrawing contents when resizing window ?
- From: Robert Miller <email@hidden>
- Date: Fri, 11 Oct 2002 14:05:01 -0400
Hello,
Does any one know if it is possible to stop redrawing the contents of
a window while it is being resized. ? I have an NSTableView with many
cells in a window and when the window is resized it is very sluggish
because of the redrawing of the cells. It seems that entire area is
updated even though a small area only may become newly exposed. Even if
I detect the 'inLiveResize' flag and try to draw nothing in my DrawRect
method. Someone or something insists on erasing the view to white. I've
tried all sorts of ways to overcome the problem but with no luck. I'd
like to control the updating of the exposed areas if the window is
grown and do nothing if the window is shrunk. I haven't been able to
find anything on this in the archives or docs. I'm sure I've missed
something.
Any info is greatly appreciated,
Regards,
Bob M
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.