WinXRegOnMouseMove


WinXRegOnMouseMove (hWnd, FUNCADDR onMouseMove)

Registers the onMouseMove callback function.

Parameter Description
hWnd The handle to the window to register the callback for
FUNCADDR onMouseMove The address of the onMouseMove callback function.

Returns

$$TRUE on success or $$FALSE on fail

Remarks

Once registered, the onMouseMove callback function will be called every time the mouse moves over your window. If you need the callback to be invoked when the mouse is not inside your window, use the SetCapture and ReleaseCapture Win32 API functions to capture and release the mouse.

Examples

'register the onMouseMove callback
WinXRegOnMouseMove (#hMain, &onMouseMove())

Related Links

onMouseMove (Callback)