Re: Does the windowDidResize really work while resizing?
Re: Does the windowDidResize really work while resizing?
- Subject: Re: Does the windowDidResize really work while resizing?
- From: Timothy Ritchey <email@hidden>
- Date: Mon, 6 May 2002 08:01:12 -0500
In your draw rect you can check the selector - (BOOL)inLiveResize, and
do something like:
- (void)drawRect:(NSRect)rect
{
if([self inLiveResize]) {
// do some optimized drawing, or no drawing at all
} else {
// do your normal drawing
}
}
On Monday, May 6, 2002, at 07:48 AM, Lorenzo Puleo wrote:
Hi,
I would like to move/resize some objects in a window, only AFTER it has
been
resized, not during the resizing. I would do that because during the
resizing, the refresh is too slow.
I used the commands:
windowDidResize
windowWillResize
but both of them work continuosly during the resizing.
I also used [window setAutodisplay:NO];
in the init of the NSWindowController but nothig has changed.
Assistance is appreciated.
--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
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.
_______________________________________________
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.