IsClipFmt( )

Microsoft Visual FoxPro Foxtools

IsClipFmt( )

Indicates whether data of the specified format is currently on the Clipboard.

Syntax

IsClipFmt(nFormat)

nFormat

Contains a numeric value indicating the format of the available data.

The following table represents the predefined Windows 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

IsClipFmt( ) returns true (.T.) if data of the specified format is on the Clipboard, or false (.F.) otherwise.

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