Question re: [NSWindow setFrame:display:]
Question re: [NSWindow setFrame:display:]
- Subject: Question re: [NSWindow setFrame:display:]
- From: email@hidden
- Date: Sun, 05 Apr 2009 23:07:20 -0700
In my NSDocument subclass, I am trying to set the main window's frame
in the windowControllerDidLoadNib: method. For some reason, I can set
the width and height of the window's frame, but not its origin. Any
ideas? I am using the setFrame:NSMakeRect(x, y, w, h) display:YES
[[self windowForSheet] setFrame: NSMakeRect(0,0,100,100) display:YES];
LA
_______________________________________________
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