Sub SetClipBoardImage(ByVal hbmp As HBITMAP)
Отправляет изображение(битмап) в буфер обмена
hbmp - хендл битмапа
Windows , Linux
#Include "window9.bi"
Dim As Integer event
Dim As HWND hwnd
hwnd=OpenWindow("",10,10,100,100) : CenterWindow(hwnd)
ImageGadget(1,0,0,100,100)
Var hbmp=Load_image("1.png")
SetClipboardImage(hbmp)
SetImageGadget(1,GetClipboardImage())
Do
event=WaitEvent()
If Event=EventClose Then End
Loop
Created with the Personal Edition of HelpNDoc: Free help authoring environment