WinXRegOnChar


WinXRegOnChar (hWnd, FUNCADDR onChar)

Registers the onChar callback function

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

Returns

$$TRUE on success or $$FALSE on fail

Remarks

Once registered, the onChar callback function will be called whenever a character is generated.

Examples

'register the onChar callback
WinXRegOnChar (#hMain, &onChar())

Related Links

onChar
onKeyDown
onKeyUp
WinXIsKeyDown