resize the NSWindow
resize the NSWindow
- Subject: resize the NSWindow
- From: "Chong Hiu Pun" <email@hidden>
- Date: Mon, 5 Aug 2002 17:13:26 +0800
I want to resize the NSWindow by the following code:
NSRect aFrame = [myMainwin frame];
aFrame.size.height = 300 ; //original size is 400
[myMainwin setFrame:aFrame display:YES animate:YES];
My window did become smaller. However, I want the window mimimized from below
rather than above:
Now:
---------
| | ----> ---------
| | | |
---------- ----------
I want :
--------- ---------
| | ----> | |
| | ----------
----------
How can I modify my code to achieve this? thanks!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.