• 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: How to launch window of the application on clicking of dock icon?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to launch window of the application on clicking of dock icon?


  • Subject: Re: How to launch window of the application on clicking of dock icon?
  • From: Josh Abernathy <email@hidden>
  • Date: Tue, 9 Dec 2008 12:11:43 -0500

In your app delegate, implement -applicationDidBecomeActive: to show your window.

On Dec 9, 2008, at 12:02 PM, Arun wrote:

Hi,

I have created a simple application in cocoa.
when it is ran, the main window appears and a default dock icon in the Dock.
If i close the window, the dock icon still stays. But if i click on the dock
icon then also the main window is visible.
The only way i can see the main window is by quitting the app and launching
it again. Is there any way in which upon clicking on the dock,
the application window becomes visible.


Thanks
Arun KA
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to launch window of the application on clicking of dock icon? (From: Arun <email@hidden>)

  • Prev by Date: How to launch window of the application on clicking of dock icon?
  • Next by Date: Re: How to launch window of the application on clicking of dock icon?
  • Previous by thread: How to launch window of the application on clicking of dock icon?
  • Next by thread: Re: How to launch window of the application on clicking of dock icon?
  • Index(es):
    • Date
    • Thread