• 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
Getting 'mouseMoved' events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting 'mouseMoved' events


  • Subject: Getting 'mouseMoved' events
  • From: James Pengra <email@hidden>
  • Date: Mon, 20 May 2002 16:03:30 -0700

I have an NSView in which I utilize mouseDown events and would also like to track the mouse cursor using mouseMoved events. I send the message [myWindow setAcceptsMouseMovedEvents:YES]; before looking for mouse movement, but the procedure -(void)mouseMoved:(NSEvent *)event never gets called. However, mouseDown gets called every time I click in the View.
What else must I do to to activate mouseMoved events?

Thanks, Jim
_______________________________________________
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: Getting 'mouseMoved' events
      • From: Matthew <email@hidden>
    • Re: Getting 'mouseMoved' events
      • From: John Hörnkvist <email@hidden>
  • Prev by Date: Re: Cocoa Document-Based Applications
  • Next by Date: Re: Find?
  • Previous by thread: Re: Font panel over modal dialog
  • Next by thread: Re: Getting 'mouseMoved' events
  • Index(es):
    • Date
    • Thread