Name
SetClipboard -- change clipboard contents (V4.5)
Synopsis
SetClipboard(type, data)
Function
This function can be used to put new data on the clipboard. The previous contents of the clipboard will be erased. Currently, you can put either text or an image on the clipboard with this function.

To put text on the clipboard, specify #CLIPBOARD_TEXT as type and pass a string containing the text to be put on the clipboard in the data argument.

To put an image on the clipboard, specify #CLIPBOARD_IMAGE as type and pass the identifier of a brush containing the image you wish to save to the clipboard in the data argument.

Inputs
type
format of the data specified in second argument
data
depends on the format specified in argument 1; see above for more information
Example
See GetClipboard


Show TOC