WinXRegOnClose (hWnd, FUNCADDR onClose)
Registers the onClose callback
Parameter | Description |
---|---|
hWnd | The handle to the window to register the callback for |
FUNCADDR onClose | The address of the onClose callback function |
$$TRUE on success or $$FALSE on fail
Once registered, the onClose callback will be invoked whenever the user attempts to close you window.
'register the onClose callback WinXRegOnClose (#hMain, &onClose()) |