• 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: NSView mouse events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView mouse events


  • Subject: Re: NSView mouse events
  • From: email@hidden
  • Date: Mon, 4 Mar 2002 14:48:21 -0800

What is the proper way to get an event for a mouse enter/leave for a NSView?

NSView is a subclass of NSResponder. NSResponder defines methods called -mouseEntered: and -mouseExited:.

Specifically a NSOpenGLView?

I don't know from OpenGL, but unless NSOpenGLView breaks the mechanisms set up by its superclasses, this should work for it as for any other view.

Ben Haller
Stick Software
_______________________________________________
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: Cursor
  • Next by Date: Re: Sheet!
  • Previous by thread: NSView mouse events
  • Next by thread: Re: Is there a sample anywhere that
  • Index(es):
    • Date
    • Thread