• 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
Window close notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Window close notification


  • Subject: Window close notification
  • From: Jean Bovet <email@hidden>
  • Date: Mon, 19 May 2003 00:30:00 +0200

Hello,

I have a carbon window in my cocoa app (using mCarbonWindow =
[[NSWindow alloc] initWithWindowRef:mWindowRef];) and I don't know how
to get the windowWillClose notification. I have try to set the delegate
of this window and to instal a carbon event handler, but when I click
the close button of the window, no event occurs (and windowWillClose is
not called). What am I doing wrong ?

Thanks in advance!

Jean Bovet

------------------------------------------------------------------
Jean Bovet
Software Engineer
Automation, Production Engineering and Robotics Laboratory (LPR)

E-mail : email@hidden - Voice : ++41 (0)32 930 38 43

EIAJ, Le Locle Site
7, avenue de l'Httel-de-Ville, 2400 Le Locle, Switzerland
------------------------------------------------------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Window close notification
      • From: Tomas Zahradnicky <email@hidden>
  • Prev by Date: Calling C++ library and/or framework from Obj C
  • Next by Date: Re: Memory and stringByAppendingString
  • Previous by thread: Re: Calling C++ library and/or framework from Obj C
  • Next by thread: Re: Window close notification
  • Index(es):
    • Date
    • Thread