Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.3 KB

EnumClipboardFormats.md

File metadata and controls

49 lines (33 loc) · 1.3 KB

Home

Function name : EnumClipboardFormats

Group: Clipboard - Library: user32


The EnumClipboardFormats function lets you enumerate the data formats that are currently available on the clipboard


Code examples:

Enumerating data formats currently available on the clipboard
GDI+: copying to the Clipboard (a) image of active FoxPro window/form, (b) image file
Monitoring clipboard content changes (VFP9)

Declaration:

UINT EnumClipboardFormats(
  UINT format   // available clipboard format
);  

FoxPro declaration:

DECLARE INTEGER EnumClipboardFormats IN user32;
	INTEGER wFormat  

Parameters:

format Specifies a clipboard format that is known to be available


Return value:

If the function succeeds, the return value is the clipboard format that follows the specified format


Comments:

Except this one, most Enum functions -- like EnumFonts, EnumPrinters etc. -- can not be implemented in VFP. At least I don"t know how to pass a reference to a enumerating procedure