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

mouseMoved problems


  • Subject: mouseMoved problems
  • From: Chris Meyer <email@hidden>
  • Date: Thu, 21 Mar 2002 11:04:37 -0800

Hi,

I have a custom view derived from NSView and I am trying to get mouseMoved events but I don't get any. I think I have set everything up properly. The following methods are defined in my custom view and when I click the mouse it prints out "YES" in the log window. I get the mouseDragged events just fine. But I never get a mouseMoved event.

Is someone out there successfully using mouseMoved events? Or are there any bugs with it anyone knows about? Does it look like I'm doing something obviously wrong?

I'm using 10.1.3 (5Q45) with Dec 2001 tools.

Thanks for any help,
Chris

- (void)mouseDown:(NSEvent *)theEvent
{
NSLog( [[self window] acceptsMouseMovedEvents] ? @"YES" : @"NO" );
}

- (void)mouseDragged:(NSEvent *)theEvent
{
NSLog( @"mouseDragged" );
}

- (void)mouseMoved:(NSEvent *)theEvent
{
NSLog( @"mouseMoved" );
}
_______________________________________________
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: mouseMoved problems [SOLVED]
      • From: Chris Meyer <email@hidden>
    • Re: mouseMoved problems
      • From: John Saccente <email@hidden>
  • Prev by Date: Re: isKindOfClass vs. loading bundles: nope?!?!?!?
  • Next by Date: Re: An other silly PrefPane problem
  • Previous by thread: Re: toplevel window from an object
  • Next by thread: Re: mouseMoved problems
  • Index(es):
    • Date
    • Thread