WinXRegOnMouseDown


WinXRegOnMouseDown (hWnd, FUNCADDR onMouseDown)

Registers the onMouseDown callback function.

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

Returns

$$TRUE on success or $$FALSE on fail

Remarks

Once registered, the onMouseDown callback will be invoked every time a mouse button is pressed down.

Examples

'Register the onMouseDown callback
WinXRegOnMouseDown (#hMain, &onMouseDown())

Related Links

onMouseDown (Callback)