Opening a closed window
Opening a closed window
- Subject: Opening a closed window
- From: "z" <email@hidden>
- Date: Mon, 13 Nov 2006 11:38:46 -0500 (EST)
How can I reopen closed window by clicking a non-document based application icon in the Dock?
I assigned MyWindowController as delagate with this method:
- (BOOL)applicationShouldHandleReopen: (NSApplication *)theApplication hasVisibleWindows: (BOOL)flag {
[ [NSApp mainWindow] makeKeyAndOrderFront: nil];
return YES;
}
I'd appreciate help. Thanks.
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
_______________________________________________
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