The ClipboardPut function allows data to be stored in the clipboard.
|
Syntax | ||||
|
ClipboardPut(ClipboardHandle, Data) | ||||
|
Return value | ||||
|
None | ||||
|
Parameter | ||||
|
Use |
Name |
Type |
Passing |
Description |
|
Required |
ClipboardHandle |
Long |
ByVal |
Unique handle of the clipboard |
|
Required |
Data |
Variant |
ByVal |
Data to be inserted into 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 |