We used WM_MOUSEMOVE in Screenshot Sender.
http://beta.screenshotsender.com/code/WindowHandl...ectArea_handler.js
Tried something like this?
js code:
/* Create your window*/
pPlusWnd.RegisterMessageNotification(0x02A1 /* WM_MOUSEHOVER */)
var TRACKMOUSEEVENT = Interop.Allocate(16);
TRACKMOUSEEVENT.WriteDWORD(0, 16);
TRACKMOUSEEVENT.WriteDWORD(4, 0x1 /* TME_HOVER */);
TRACKMOUSEEVENT.WriteDWORD(8, pPlusWnd.GetControlHandle('myControl'));
TRACKMOUSEEVENT.WriteDWORD(12, 1);
function OnWindowSubClassEvent_MessageNotification(pPlusWnd, nMessage, wParam, lParam) {
switch (nMessage) {
case 0x02A1 /* WM_MOUSEHOVER */:
Debug.Trace('i r on your control');
}
}