|
Hi,
Following with my incursion in owner draw controls, i've found that
there is a better way to detect "hot" controls (it is, controls with
mouse over), I'm using John Aspinall's "Widget Exensions" package for
the requesting of mouse leave events (which, AFAIK, work for mouse hover
too).
This method request Windows to send a message (WM_MOUSELEAVE) when the
mouse leaves the registered control (aView). Reading MSDN, I've found
that exists a WM_MOUSEHOVER message, which operates in the same way as
WM_MOUSELEAVE does.
What I want to know are the steps neccesary to register Dolphin to
those messages.
I've added an entry to View's MessageMap, at key 674 with value
#wmMouseHover:wParam:lParam:, and implemented a method with that
selector in View, but I don't know if the message is being sent or if
I'm not registering it properly. Key 674 corresponds to WM_MOUSEHOVER +
1. But, just in case if it was 0 or 1 based, i've added key 673 with the
same value.
Is there a tool, or something similar to inspect or spy the WM messages
being sent to my view?
Best regards.
--
Esteban.
|