• 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
Notification of any application events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Notification of any application events


  • Subject: Notification of any application events
  • From: David Lee <email@hidden>
  • Date: Mon, 7 Jul 2003 01:06:03 +0100

I am looking for a Cocoa method of detecting whether an NSEvent has occurred that was generated by the user. It needs to detect events that have been given to other applications too. For example if a user starts typing in mail or clicks the mouse in some other active program, if my application is running I would like it to recieve these events too. Is there a nice way of doing this - is using NSNotifications the way forward? Which Notifications should I use?
Any help would be much appreciated.

Dave Lee
_______________________________________________
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.

  • Prev by Date: Re: how does canCloseDocumentWithDelegate work?
  • Next by Date: Re: Notification when frontmost app changes?
  • Previous by thread: Re: how does canCloseDocumentWithDelegate work?
  • Next by thread: Re: Notification when frontmost app changes?
  • Index(es):
    • Date
    • Thread