The ClipboardGet function can be used to query the contents of the clipboard.
|
Syntax | |||||
|
ClipboardGet(ClipboardHandle) | |||||
|
Return value | |||||
|
Type |
Description | ||||
|
Variant |
Data of the clipboard | ||||
|
Parameter | |||||
|
Use |
Name |
Type |
Passing |
Description | |
|
Required |
ClipboardHandle |
Long |
ByVal |
Unique handle of the clipboard | |
You get the required clipboard handle as a return value of the ClipboardCreate function.
Alternatively, you can access for example the standard clipboards:
|
Standard-Clipboards |
Description |
|
&HBF00 |
Information for DDE communication |
|
&HBF01 |
Rich Text Format |
|
1 |
Text |
|
2 |
Bitmap |
|
3 |
Metafile |
|
8 |
Device-independent Bitmap |
|
9 |
Palette of colors |