• 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
Close/Minimize the app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Close/Minimize the app


  • Subject: Close/Minimize the app
  • From: Symadept <email@hidden>
  • Date: Thu, 12 Nov 2009 11:50:25 +0800

Hi,

How to close/minimize the app programmatically. I tried the following way
but no luck.

    [[NSApp mainWindow] performMiniaturize:nil];

                  [OR]
    [NSApp miniaturizeAll:self];

And close should not terminate my app, it should place an icon in the Dock,
I hope it would be the same. And I know to give Dock Menu items.
>From that menuitem, if I click on Open, it shall be able to launch my app.

Regards
Symadept
_______________________________________________

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

  • Follow-Ups:
    • Re: Close/Minimize the app
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Callback for Volume change or Mute/Unmute
  • Next by Date: Mute/Unmute audio device
  • Previous by thread: Callback for Volume change or Mute/Unmute
  • Next by thread: Re: Close/Minimize the app
  • Index(es):
    • Date
    • Thread