Using scissors, I cut out a rectangular fragment of the screen and put it on the clipboard.
How can I put an image from the clipboard on the DC of my window ?
Using scissors, I cut out a rectangular fragment of the screen and put it on the clipboard.
How can I put an image from the clipboard on the DC of my window ?
Thanks !
Is it possible to estimate the size of the fragment in the clipboard ?
aImage := FW_ReadImage() Â // no params
? aImage[ 3 ], aImage[ 4 ] Â // width and height in pixelsDid I understand correctly that FW_ReadImage (without parameters) accesses the clipboard ?
Natter wrote:Did I understand correctly that FW_ReadImage (without parameters) accesses the clipboard ?Yes, but if you are using the recent versions. ( FWH2310 and later)
nageswaragunupudi wrote:And if version 2306?Did I understand correctly that FW_ReadImage (without parameters) accesses the clipboard ?Yes, but if you are using the recent versions. ( FWH2310 and later)
What is the version you are using?
hBitmap := FW_GetClipBoardData( 2 )
if hBitmap != nil
 // do whatever you want with hBitmap
endif