• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Newbie] How to make application reappear after a close?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Newbie] How to make application reappear after a close?


  • Subject: Re: [Newbie] How to make application reappear after a close?
  • From: Dan Saul <email@hidden>
  • Date: Fri, 7 Jan 2005 10:19:10 -0600

Read the NSWindow documentation, it will solve you much more then
waiting for hours for one of us to hand feed the answer.

What you are looking for is -makeKeyAndOrderFront: et al.


On Fri, 7 Jan 2005 01:13:16 +0100, whamoo <email@hidden> wrote:
>
> 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
>
 _______________________________________________
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

References: 
 >[Newbie] How to make application reappear after a close? (From: whamoo <email@hidden>)
 >Re: [Newbie] How to make application reappear after a close? (From: "Sean McBride" <email@hidden>)
 >Re: [Newbie] How to make application reappear after a close? (From: whamoo <email@hidden>)

  • Prev by Date: Re: newbie view help understanding (rulers example)
  • Next by Date: Re: stringWithContentsOfURL bug? (gzip issue)
  • Previous by thread: Re: [Newbie] How to make application reappear after a close?
  • Next by thread: Re: [Newbie] How to make application reappear after a close?
  • Index(es):
    • Date
    • Thread