• 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: disable manual resizing of NSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: disable manual resizing of NSWindow


  • Subject: Re: disable manual resizing of NSWindow
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 19 Jun 2008 16:13:12 -0400
  • Organization: Rogue Research

On 6/18/08 3:40 PM, Uli Kusterer said:

>> In a NSWindow, I'd like to disable manual resizing(don't allow user
>> to drag the lower right corner to resize the window), only by
>> clicking 'max' and 'restore' icons, possible? the reason is, I put a
>> QuickTIme's movieview in the window and the preserving aspect ratio
>> is on, manual resizing will not do good.
>
>
>  Huh? You're not making sense here... an NSWindow can be told to
>maintain an aspect ratio when resizing (or a grid step size). Wouldn't
>it be much better to just set that up correctly instead of removing
>the grow box?

Well, the window can be told to keep an aspect ratio, but unless the QT
view fills the entire window's content, it's not too useful.  NSWindow's
resize delegate methods would probably be more useful.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: 
 >disable manual resizing of NSWindow (From: Angelo Chen <email@hidden>)
 >Re: disable manual resizing of NSWindow (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Time Machine Helpers
  • Next by Date: Re: NSData text representation
  • Previous by thread: Re: disable manual resizing of NSWindow
  • Next by thread: Core Animation and Live Resize Problems
  • Index(es):
    • Date
    • Thread