SIMPOL Documentation

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 text, wxbitmap bitmap )

Parameters

ParameterDefault valueType nameDescription
text.nulstring The string object that will contain any text retrieved from the clipboard. This must be a pre-initialized string object!
bitmap.nulwxbitmap The wxbitmap object that will contain any bitmap retrieved from the clipboard. This must be a pre-initialized wxbitmap object!