* Win32 Declares DECLARE SHORT OpenClipboard IN Win32API; INTEGER hWndNewOwner DECLARE INTEGER SetClipboardData IN Win32API; INTEGER uFormat, INTEGER hMem DECLARE SHORT CloseClipboard IN Win32API DECLARE INTEGER LoadImage IN Win32API; INTEGER hinst, STRING @lpszName,; INTEGER uType, INTEGER cxDesired,; INTEGER cyDesired, INTEGER fuLoad * Open the clipboard. I use the value from the foxtools * MainhWnd() function here, but zero is permissable lnhWnd = MainhWnd() IF OpenClipboard(lnhWnd) # 0 * lcfile is the name of the bitmap file * Use 16 to load from file * Other types (icons, etc. can be loaded too. * Parameter 3 in this case indicates a bitmap lnhandle = LoadImage(0, @lcfile, 0, 0, 16) lnresult = SetClipboardData(2, lnhandle) IF lnresult = lnhandle * The call succeeded ENDIF = CloseClipboard() ENDIFNote that the image won't be available until the clipboard is closed. Further, failure to close it will make it unavailable to other applications.