Capture Images from memory with Clipboard Function
Capture Images from memory with Clipboard Function
(OP)
Hi,
I am creating an application which depends on the contents of clipboard. Text is captured OK but images (such as Print Screen)doesnt.
Any suggestions will highly appreciated
Iam using Clarion 6.3
I am creating an application which depends on the contents of clipboard. Text is captured OK but images (such as Print Screen)doesnt.
Any suggestions will highly appreciated
Iam using Clarion 6.3
RE: Capture Images from memory with Clipboard Function
Check out www.clarionfreeimage.com - it's a class to use the FreeImage library. It has a clipboard class and an example of it's usage to copy the Image in the Clipboard to a BLOB is shown below ::
CODE
code
if cb.OpenClipboard(myWindow)
if cb.GetClipboard(myfile.myblob, SA_CF_DIB)
!the DIB on the clipboard is now in the BLOB
!add the record.
end
cb.CloseClipboard()
end
Regards