WinXRegOnClipChange (hWnd, FUNCADDR onClipChange)
Registers a callback to moniter clipboard changes
Parameter | Description |
---|---|
hWnd | The handle to the window to register the callback for |
FUNCADDR onClipChange | The address of the onClipChange callback function to register |
$$TRUE on success or $$FALSE on fail
The onClipChange callback is invoked whenever the clipboard data changes. You can use it to keep track of what kind of data is on the clipboard and enable and disable the paste button as appropriate.
' Register the onClipChange callback WinXRegOnClipChange (#hMain, &onClipChange()) |