Another delegate method also works:
- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication
hasVisibleWindows:(BOOL)flag
Could you please tell me if it's OK to use it to ‘unhide’ main window.
Thanks!
On 08.06.2009, at 4:05, Andy Lee wrote:
On Jun 7, 2009, at 8:50 PM, Stuart Ma
On Jun 7, 2009, at 9:17 PM, Stuart Malin wrote:
Q: I presume it doesn't matter what value is returned for -
applicationOpenUntitledFile (I happen to be returning NO because no
file was opened).
I don't know, but my guess is that if it seems to work, you can assume
it works. Maybe a docume
On Jun 7, 2009, at 3:05 PM, Andy Lee wrote:
On Jun 7, 2009, at 8:50 PM, Stuart Malin wrote:
I have a non Document based app. If the window is closed, I want to
have the user be able to get it back by clicking on the dock icon.
(Note that Apple's Mail does this). I have implemented
NSAppli
On Jun 7, 2009, at 8:50 PM, Stuart Malin wrote:
I have a non Document based app. If the window is closed, I want to
have the user be able to get it back by clicking on the dock icon.
(Note that Apple's Mail does this). I have implemented NSApplication's
- (void) applicationDidBecomeAc
I have a non Document based app. If the window is closed, I want to
have the user be able to get it back by clicking on the dock icon.
(Note that Apple's Mail does this). I have implemented NSApplication's
- (void) applicationDidBecomeActive:(NSNotification *)notif
but that is only inv