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

Re: mouse moved events in NSView?


  • Subject: Re: mouse moved events in NSView?
  • From: Allan Odgaard <email@hidden>
  • Date: Wed, 12 May 2004 03:07:22 +0200

On 12. May 2004, at 2:40, David Piasecki wrote:

[...] Just for kicks, I tried [myView setAcceptsMouseMovedEvents:true], but that gives a warning that myView may not respond to that event. So I'm not sure how to enable the mouseMoved event for an NSView [...]

Use [[myView window] setAcceptsMouseMovedEvents:YES]
_______________________________________________
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: mouse moved events in NSView?
      • From: "David Piasecki" <email@hidden>
References: 
 >Re: mouse moved events in NSView? (From: "David Piasecki" <email@hidden>)

  • Prev by Date: Re: mouse moved events in NSView?
  • Next by Date: Re: cmd-q versus menu item quit
  • Previous by thread: Re: mouse moved events in NSView?
  • Next by thread: Re: mouse moved events in NSView?
  • Index(es):
    • Date
    • Thread