Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.43 KB

SetClipboardData.md

File metadata and controls

52 lines (37 loc) · 1.43 KB

Home

Function name : SetClipboardData

Group: Clipboard - Library: user32


The SetClipboardData function places data on the clipboard in a specified clipboard format


Code examples:

Placing an arbitrary rectangular area of main VFP window on the Clipboard
How to copy the image of a form to the Clipboard using Bitmap API functions
Bitmap Class for Visual FoxPro application
Passing data records between VFP applications via the Clipboard
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
GDI+: copying to the Clipboard (a) image of active FoxPro window/form, (b) image file

Declaration:

HANDLE SetClipboardData(
    UINT  uFormat,	// clipboard format
    HANDLE  hData 	// data handle
   );  

FoxPro declaration:

DECLARE INTEGER SetClipboardData IN user32;
	INTEGER wFormat,;
	INTEGER hMem
  

Parameters:

uFormat Specifies a clipboard format

hData Identifies the data in the specified format


Return value:

If the function succeeds, the return value is the handle of the data