Re: Receiving Mouse Moved Events in Views
Re: Receiving Mouse Moved Events in Views
- Subject: Re: Receiving Mouse Moved Events in Views
- From: Alastair Houghton <email@hidden>
- Date: Sun, 28 Mar 2004 09:04:37 +0100
On 28 Mar 2004, at 07:17, Devin Lane wrote:
>
Cocoa-Dev:
>
>
I know this has already been addressed, but I have yet to find an
>
acceptable solution. I want to be able to receive mouseMoved: events
>
in a view in a window in order to highlight parts of the view.
>
However, even after calling [window setAcceptsMouseMovedEvents:YES], I
>
do not receive anything. I have heard that there is a bug in Appkit
>
that causes this. However, other cocoa applications seem to be able
>
to handle it fine (think Omniweb), and I wanted to know how to make
>
mine do the same.
I believe you'll find that you need to establish a tracking rectangle
before you get mouse move events.
Kind regards,
Alastair.
--
http://www.alastairs-place.net
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.