• 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: why mouseMoved doesn't work...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: why mouseMoved doesn't work...


  • Subject: RE: why mouseMoved doesn't work...
  • From: "henry" <email@hidden>
  • Date: Fri, 11 Oct 2002 09:51:02 -0400
  • Organization: Box Studios

You need to activate NSWindows setAcceptsMouseMovedEvents in order for
mouseMoved events to be tracked.

http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/Progra
mmingTopics/EventOverview/Concepts/MouseEvents.html#//apple_ref/doc/uid/
20000891

Henry


-----Original Message-----
From: email@hidden
[mailto:email@hidden] On Behalf Of John MacDonnell
Sent: Thursday, October 10, 2002 3:55 PM
To: email@hidden
Subject: why mouseMoved doesn't work...


Hi folks I have a problem connected with the use of mouseMoved events...

I set a tracking area and it works great with:
-(void)mouseEntered:(NSEvent*)event
-(void)mouseExited:(NSEvent*)event

But the:
- (void)mouseMoved:(NSEvent *)theEvent

it doesn't work... the method seems not even to be called... I miss
something somewhere I guess. Can you tell me what I do wrong here?

thanks,
John
_______________________________________________
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.
_______________________________________________
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.

References: 
 >why mouseMoved doesn't work... (From: John MacDonnell <email@hidden>)

  • Prev by Date: Re: NSMatrix with radio buttons - problem detecting states
  • Next by Date: ColoredRowTableView
  • Previous by thread: Re: why mouseMoved doesn't work...
  • Next by thread: A Visible Focus Que
  • Index(es):
    • Date
    • Thread