Re: [Newbie] How to make application reappear after a close?
Re: [Newbie] How to make application reappear after a close?
- Subject: Re: [Newbie] How to make application reappear after a close?
- From: whamoo <email@hidden>
- Date: Fri, 7 Jan 2005 01:13:16 +0100
On 05/gen/05, at 19:43, Sean McBride wrote:
First: I build my application, create interface, writing function,
compile and run, all work fine, but if i click on red cross, or use
cmd-w my application close, doesn't quit
That's normal.
but if i press on dock icon,
only the menu reappear not the window.... How to tell application on a
click on dock if it is close to reappear?
See:
- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication
hasVisibleWindows:(BOOL)flag
in NSApplication docs.
Oks, in this way i can catch the user event click on my icon in the
doc, but in which i can restore the windows? There is a way to reopen
the windows that the program open when the app is launched the first
time?
How to implement this function?
Whamoo www.rknet.it
Powered by:
- MacOsX
- Gnu / Linux Debian Sarge
- Amiga Os 3.9
- Milk
_______________________________________________
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