Re: disable manual resizing of NSWindow
Re: disable manual resizing of NSWindow
- Subject: Re: disable manual resizing of NSWindow
- From: "Apparao Mulpuri" <email@hidden>
- Date: Wed, 18 Jun 2008 18:58:40 +0530
If you are creating Window in IB, then in window inspector Uncheck the
reResize checkbox.
In programmatic approach, you have to set the Window's style mask.
- Apparao.
2008/6/18 Angelo Chen <email@hidden>:
> Hi,
>
> Is there a way to do following:
>
> 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.
>
> Thanks,
>
> Angelo
>
>
>
>
> Yahoo! Mail具備一流的網上安全保護功能,請前往 http://hk.antispam.yahoo.com/ 了解更多相關資訊!
> _______________________________________________
>
> 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