wxclipboardgetdata()
Description
This function retrieves from the clipboard either text, a bitmap, or both (if both are present). Current limitations in wxWidgets prevent the retrieval of non-Unicode text in Unicode applications. This does not present a problem in Windows XP or later (NT and 2000 will require testing), since the operating system automatically puts a Unicode copy up as well. In Windows 9x and Me, this means that text copied from non-Unicode-enabled programs cannot be retrieved using this call. This will hopefully change in the future.
Prototype
wxclipboardgetdata
(
string
,
wxbitmap text
)
bitmap
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
text | .nul | string | The string object that will contain any text retrieved from the clipboard. This must be a pre-initialized string object! |
bitmap | .nul | wxbitmap | The wxbitmap object that will contain any bitmap retrieved from the clipboard. This must be a pre-initialized wxbitmap object! |