Re: Help, How to resize a window on cocoa
Re: Help, How to resize a window on cocoa
- Subject: Re: Help, How to resize a window on cocoa
- From: Daniel Jalkut <email@hidden>
- Date: Wed, 11 Jan 2006 23:25:40 -0500
The method you want to use is "setFrame:" regardless of whether
you're resizing a view or a window.
The best thing would probably be to set your NSQuickDrawView to
autoresize when its superview resizes, then just resize the window by
the amount that you want the subview to resize.
Daniel
On Jan 11, 2006, at 9:31 PM, gordonstysty wrote:
Hello developers,
I am a new one on cocoa programme, and I met a problem on how
to resize a window on cocoa.I build a cocoa application by use xcode
project wizzard.Also, I added a NSQuickDrawView into this window and
I want to resize this view too.
Any advice is appreciated.
Best regards.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden