The ClipboardCheck function can be used to check if data is on the clipboard.
|
Syntax | |||||
|
ClipboardCheck(ClipboardHandle) | |||||
|
Return value | |||||
|
Type |
Description | ||||
|
Boolean |
True if the clipboard contains data | ||||
|
Parameter | |||||
|
Use |
Name |
Type |
Passing |
Description | |
|
Required |
ClipboardHandle |
Long |
ByVal |
Handle of the clipboard | |
You get the required clipboard handle as a return value from the ClipboardCreate function.
If you want to check a standard clipboard, you can pass for example the following values as a clipboard handle:
|
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 |