• 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: Andy Lee <email@hidden>
  • Date: Fri, 13 Feb 2009 14:26:11 -0500

Did you look closely at the docs for zoom: before overriding it? Did you try Joar's suggestion to look at NSWindow's delegate methods? What I'm getting at is... I think windowWillUseStandardFrame:defaultFrame: is what you want, though I haven't tried it myself.

--Andy


On Feb 13, 2009, at 2: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!

Anthony Smith


On Feb 12, 2009, at 11:39 PM, John C. Randolph wrote:


On Feb 12, 2009, at 9:42 AM, Anthony Smith wrote:

What is the best way to set the max zoom size for NSWindow? I was able to implement a solution by overriding zoom but that feels rather invasive so I'm assuming there's probably a better way.

Check the docs for -windowWillResize:toSize:.

-jcr



_______________________________________________

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


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

  • Prev by Date: Re: Window Max Zoom Size
  • Next by Date: Re: Window Max Zoom Size
  • Previous by thread: Re: Window Max Zoom Size
  • Next by thread: Proper NSOperation isCancelled handling
  • Index(es):
    • Date
    • Thread