resizing a window before displaying
resizing a window before displaying
- Subject: resizing a window before displaying
- From: Hua Ying Ling <email@hidden>
- Date: Tue, 9 Mar 2004 11:26:04 -0500
Hi,
I'm trying to load a window with all the nib components, resize the
window to full screen, then show the window.
I've subclassed a NSWindowController which resizes the window in the
-(void)windowDidLoad method. The only problem is, the user can see the
window being resize. I've tried to open a new untitled document by
using
[[NSDocumentController sharedDocumentController]
openUntitledDocumentOfType:@"DocumentType" display:NO];
then later showing the window in the NSWindowController's windowDidLoad
method. But this method doesn't seem to be called until the window is
shown.
Is there a better way to do this?
Thanks
~Hua Ying Ling
_______________________________________________
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.