On Fri, Feb 13, 2009 at 11:40 AM, Anthony Smith <anthony.c.sm...@comcast.net> wrote: > When a zoom is performed on a window I want to be able to specify the width > or height it will zoom out to. Similar to Safari/WebKit's variable zoom > size.
People have already pointed to the -windowWillUseStandardFrame:defaultFrame: delegate method. This is exactly what you need. Implement that method on your window's delegate, and return the rectangle that you want to use for the zoomed state. You're doing yourself a disservice not reading the documentation that many people have pointed you to so far. -- Clark S. Cox III clarkc...@gmail.com _______________________________________________ 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