• 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
Responding to Dock Click
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Responding to Dock Click


  • Subject: Responding to Dock Click
  • From: "Nick D'Amato" <email@hidden>
  • Date: Fri, 14 Oct 2005 15:21:57 -0400

Hello,

I'm writing a Cocoa single window based app. When the window is closed, I'd like my app to continue running, which happens by default in Cocoa. However, when someone clicks my app's icon in the dock while the window is closed, I would like to automatically reopen my main window (like most apps do).

I'm sure there is a default cocoa method to do this, but I cannot find it. Any suggestions would be greatly appreciated!
Nick D'Amato




_______________________________________________
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


  • Follow-Ups:
    • Re: Responding to Dock Click
      • From: Pontus Ilbring <email@hidden>
    • Re: Responding to Dock Click
      • From: John Stiles <email@hidden>
  • Prev by Date: Some questions about the sketch example...
  • Next by Date: Re: Responding to Dock Click
  • Previous by thread: Re: Some questions about the sketch example...
  • Next by thread: Re: Responding to Dock Click
  • Index(es):
    • Date
    • Thread