GetClipDat( )

Microsoft Visual FoxPro Foxtools

GetClipDat( )

Retrieves a handle for the Clipboard data of a specified format and passes it directly to the calling application.

Syntax

GetClipDat(nFormat)

nFormat

Contains an identifier for possible Clipboard formats.

nFormat Description (define type)
1 cf_Text
2 cf_Bitmap
3 cf_MetaFilePict
4 cf_SYLK
5 cf_DIF
6 cf_TIFF
7 cf_OEMText
8 cf_DIB
9 cf_Palette

Return Type

Logical

Remarks

The clipboard controls the handle, not the application. The application should copy the data immediately. Almost all Clip functions rely on opening the Clipboard before using the function. You can use _CLIPTEXT to access the contents of the Windows Clipboard.

Note   This function maps to the Windows SDK function that is similarly named. For more information, see the Windows SDK documentation.