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 ?
aImage := FW_ReadImage() // no params
? aImage[ 3 ], aImage[ 4 ] // width and height in pixels
Natter wrote:Did I understand correctly that FW_ReadImage (without parameters) accesses the clipboard ?
nageswaragunupudi wrote: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)
What is the version you are using?
hBitmap := FW_GetClipBoardData( 2 )
if hBitmap != nil
// do whatever you want with hBitmap
endif
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 10 guests