WinXRegOnMouseWheel


WinXOnMouseWheel (hWnd, FUNCADDR onMouseWheel)

Registers the onMouseWheel callback function.

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

Returns

$$TRUE on success or $$FALSE on fail

Remarks

Once registered, the onMouseWheel callback will be called whenever the user rotates the mouse wheel and your window has input focus.

Examples

'Register the onMouseWheel callback function
WinXRegOnMouseWheel (#hMain, &onMouseWheel())

Related Links

onMouseWheel (Callback)