FROM : Brian O'Brien
DATE : Wed Apr 27 22:39:42 2005
On Apr 27, 2005, at 2:32 PM, Brian O'Brien wrote:
> In my subclass of NSImageView I want to receive mouse move events.
> I defined the method acceptsMouseMovedEvents and returned true.
> I also defined the method - (void)mouseMoved:(NSEvent *)theEvent
> and put an NSLog message in that function. However I get no mouse
> motion events.
>
in my init I did
[[self window] setAcceptsMouseMovedEvents:YES];
Still no events...
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>
DATE : Wed Apr 27 22:39:42 2005
On Apr 27, 2005, at 2:32 PM, Brian O'Brien wrote:
> In my subclass of NSImageView I want to receive mouse move events.
> I defined the method acceptsMouseMovedEvents and returned true.
> I also defined the method - (void)mouseMoved:(NSEvent *)theEvent
> and put an NSLog message in that function. However I get no mouse
> motion events.
>
in my init I did
[[self window] setAcceptsMouseMovedEvents:YES];
Still no events...
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>
| Related mails | Author | Date |
|---|---|---|
| Brian O'Brien | Apr 27, 22:32 | |
| Brian O'Brien | Apr 27, 22:39 | |
| Geoff Levner | Apr 27, 22:40 | |
| Brian O'Brien | Apr 27, 22:44 | |
| Clark Cox | Apr 27, 22:44 | |
| Brian O'Brien | Apr 27, 23:11 | |
| glenn andreas | Apr 27, 23:26 | |
| Brian O'Brien | Apr 27, 23:41 |






Cocoa mail archive

