• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Window Max Zoom Size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window Max Zoom Size


  • Subject: Re: Window Max Zoom Size
  • From: Clark Cox <email@hidden>
  • Date: Fri, 13 Feb 2009 11:53:21 -0800

On Fri, Feb 13, 2009 at 11:40 AM, Anthony Smith
<email@hidden> 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
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

  • Follow-Ups:
    • Re: Window Max Zoom Size
      • From: Anthony Smith <email@hidden>
References: 
 >Window Max Zoom Size (From: Anthony Smith <email@hidden>)
 >Re: Window Max Zoom Size (From: "John C. Randolph" <email@hidden>)
 >Re: Window Max Zoom Size (From: Anthony Smith <email@hidden>)
 >Re: Window Max Zoom Size (From: Ken Thomases <email@hidden>)
 >Re: Window Max Zoom Size (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Window Max Zoom Size (From: Anthony Smith <email@hidden>)

  • Prev by Date: Re: Window Max Zoom Size
  • Next by Date: Re: System Preferences "halo/spotlight" effect
  • Previous by thread: Re: Window Max Zoom Size
  • Next by thread: Re: Window Max Zoom Size
  • Index(es):
    • Date
    • Thread