• 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 quit application when close the main window by click icon x on left-top corner of the window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to quit application when close the main window by click icon x on left-top corner of the window?


  • Subject: Re: How to quit application when close the main window by click icon x on left-top corner of the window?
  • From: Omar Qazi <email@hidden>
  • Date: Tue, 21 Feb 2006 18:10:28 -0800

Create a simple implementation of - applicationShouldTerminateAfterLastWindowClosed: in NSApp's delegate

On Feb 21, 2006, at 5:55 PM, 魏立群(Gordon.Wei) wrote:

Hi all developers,
I met some problem when build a cocoa application.
How to quit application when close the main window by click icon x on left-top corner of the window?
I build a cocoa application and my application has one main window and one Controller class,
How to add mouse event into my controller or should I build another class to do this?
I want to build a vertical palette bar,how to do?
I have build a toolbar and it works well.Is it difference between these two actions?And also, I want to make this bar has no title bar.


Thanks & best regards.
_______________________________________________
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: 
 >How to quit application when close the main window by click icon x on left-top corner of the window? (From: 魏立群(Gordon.Wei) <email@hidden>)

  • Prev by Date: Re: beginner's webKit questions
  • Next by Date: Re: Can't receive mouseMoved: message in custom QCView
  • Previous by thread: How to quit application when close the main window by click icon x on left-top corner of the window?
  • Next by thread: Getting one of those modal sheets that "emerges from a slit"
  • Index(es):
    • Date
    • Thread