Re: Detecting a resize window event?
Re: Detecting a resize window event?
- Subject: Re: Detecting a resize window event?
- From: Greg Titus <email@hidden>
- Date: Sun, 25 May 2008 16:09:15 -0700
Assuming you are asking because you need to do drawing differently
based on whether resizing is taking place, see here:
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaPerformance/Articles/CocoaLiveResize.html
You'll want to override the -viewWillStartLiveResize and -
viewDidEndLiveResize methods.
Hope this helps,
- Greg
On May 25, 2008, at 4:00 PM, Graham Reitz wrote:
How do you detect a resize event?
I can see that lockFocus and drawRect are getting called.
Is there a method to help determine if the user is resizing the
window?
thanks,
graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden