WinXRegOnClipChange


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

Returns

$$TRUE on success or $$FALSE on fail

Remarks

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.

Examples

' Register the onClipChange callback
WinXRegOnClipChange (#hMain, &onClipChange())

Related Links

onClipChange