Resize NSWindow Programatically
Resize NSWindow Programatically
- Subject: Resize NSWindow Programatically
- From: Brian Amerige <email@hidden>
- Date: Mon, 04 Sep 2006 23:38:32 -0400
Hi all,
I'm looking to resize my NSWindow Programatically, after my
disclosure triangle is toggled. I've got everything setup as far as
the methods that need to be in place to allow it, I'm just lost as
far as how to actually resize the window programatically. Here's my
code:
-(IBAction)toggleNameInfo:(id)sender
{
if([nameView isHidden])
{
[nameView setHidden:NO];
}
else
{
[nameView setHidden:YES];
}
}
So, I've got my disclosure triangle manipulating my view properly,
but I need to resize the window (remove from bottom up not top down
like Cocoa-Java's method for window resizing does). I looked at
Apple's documentation for NSWindow, but I really don't know where to
go with this.
Thanks in advance!
Brian Amerige
http://extendmac.com
http://cocoaforum.com
_______________________________________________
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