WinXRegOnKeyDown (hWnd, FUNCADDR onKeyDown)
Registers the onKeyDown callback function.
Parameter | Description |
---|---|
hWnd | The handle to the window to register the onKeyDown callback for |
FUNCADDR onKeyDown | The address of the onKeyDown callback |
$$TRUE on success or $$FALSE on fail
Once registered, the onKeyDown callback will be called whenever a key is pressed
'register the onKeyDown callback WinXRegKeyDown (#hMain, &onKeyDown()) |