OSes accept and return clipboard information in a set of possible formats; you register the formats here.
Public Member Functions
|Open the clipboard for examination. |
|Close the clipboard after it was opened. |
|Get the text format for this clipboard data, returns null if there is none. |
|Empty the clipboard, freeing its data. |
|void||addText (char text)|
|Add a text format to the supported content. |
Open the clipboard for examination.
This avoids collisions by not allowing other windows to handle it until after you're done. You must call close. This can return false; that means that another program has it opened at present.