• 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
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]

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


  • Subject: 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>
  • Date: Wed, 22 Feb 2006 09:55:29 +0800

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

  • Follow-Ups:
    • 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>
  • Prev by Date: Re: Replicate custom view in code
  • Next by Date: Re: beginner's webKit questions
  • Previous by thread: Re: NSScriptCoercionHandler ?
  • Next by thread: Re: How to quit application when close the main window by click icon x on left-top corner of the window?
  • Index(es):
    • Date
    • Thread