That looks like it makes sense. I'm assuming -zoom: is only called when being zoomed in and not zoomed out. Is that correct or do I need to detect which way it's zooming?

On Feb 13, 2009, at 2:15 PM, Ken Thomases wrote:

On Feb 13, 2009, at 1:06 PM, Anthony Smith wrote:

I'm surprised there isn't a maxZoomSize or something. This doesn't look like it deals with zoom just resizing in general. I'm new to Mac development so I could just be missing something. Thanks for the input!

You want the -windowWillUseStandardFrame:defaultFrame: delegate method. Its return value is the "best" size for the window.

Cheers,
Ken


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to