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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/greg%40omnigroup.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to