win32 help

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

win32 help

Sebastián Perez Escribano
Hi, i have to copy an image from a window (not generated by smalltalk) to anotherONE (generated by the vw image). Im working with the google earth api and it gives me window handle. I know i have to use a win32 funcion called copyRect but i really don´t know how to do it....
thanks

--
Sebastián
Reply | Threaded
Open this post in threaded view
|

RE: win32 help

Björn Eiderbäck-3

I am not sure if this is what you want

1)      Getting an image from the current clip buffer (maybe copied in another program or created by (2) below)

Pixmap fromClipboard asImage

 

2)      “cut” a piece of the screen (Image fromUser) and convert it to  a pixmap (asRetainedMedium) and finally put in the platforms clipboard (available to be “pasted” by other programs)

Image fromUser asRetainedMedium toClipboard

 

Björn

From: Sebastián Perez Escribano [mailto:[hidden email]]
Sent: den 19 mars 2007 22:13
To: [hidden email]
Subject: win32 help

 

Hi, i have to copy an image from a window (not generated by smalltalk) to anotherONE (generated by the vw image). Im working with the google earth api and it gives me window handle. I know i have to use a win32 funcion called copyRect but i really don´t know how to do it....
thanks

--
Sebastián