• 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
Hide a window on close?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hide a window on close?


  • Subject: Hide a window on close?
  • From: "Craig Dooley" <email@hidden>
  • Date: Thu, 14 Sep 2006 13:37:57 -0400

I would like to change the behavior of my application to be like
Mail.app or Newsfire when the close button is pressed.  These apps
appear to hide the main window, but bring it back when the dock icon
is pressed, exactly as it was before.

Should I make a delegate for windowShouldClose: that hides the window
and returns NO?

-Craig
--
-----------------------------------------------------------------------
Craig Dooley <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


  • Follow-Ups:
    • Re: Hide a window on close?
      • From: Mike Abdullah <email@hidden>
    • Re: Hide a window on close?
      • From: j o a r <email@hidden>
  • Prev by Date: Re: NSBorderlessWindowMask on a sheet
  • Next by Date: Re: Creating / Printing WebViews programmatically
  • Previous by thread: Re: move application to secondary screen
  • Next by thread: Re: Hide a window on close?
  • Index(es):
    • Date
    • Thread