RE: why mouseMoved doesn't work...
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.