#define CF_BITMAP 2 #define CF_PALETTE 9 Declare Long OpenClipboard In user32 Long hWnd Declare Long CloseClipboard In user32 Declare Long EmptyClipboard In user32 Declare Long SetClipboardData In user32 Long uFormat, Long hMem Declare Long CopyImage In user32 Long, Long, Long, Long, Long lcFileName = GetPict() If !Empty(lcFileName) oPict = LoadPicture(lcFileName) If oPict.Type = 1 && Bitmap (BMP, JPG, GIF files) h = CopyImage(oPict.Handle, 0, 0, 0, 0) ClearClipboard() SetClipData(h, CF_BITMAP) If oPict.HPal != 0 SetClipData(oPict.HPal, CF_PALETTE) EndIf EndIf EndIf Procedure ClearClipboard If OpenClipboard(0) != 0 EmptyClipboard() CloseClipboard() EndIf EndProc Procedure SetClipData(thMem, tnFormat) If OpenClipboard(0) != 0 SetClipboardData(tnFormat, thMem) CloseClipboard() EndIf EndFunc>We'd like to be able to place an image in the clipboard. The image could be a JPG, BMP, or TIF. Foxtools.fll has some commands associated with getting the clipboard but I couldn't figure out, if possible, how to load the clipboard up with an image.