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 PROTECTED] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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 [EMAIL PROTECTED]