Re: exw 'get_pixel'

new topic     » goto parent     » topic index » view thread      » older message » newer message

At 22:25 16-12-97 +1100, you wrote:
>Does anybody know how to read pixels
>from the windows desktop?
>
>Thanks in advance.
>
>Graeme Burke.
>
>

First get the desktop window handle with GetDesktopWindow() (in user32.dll)
then use GetPixel() (in gdi32.dll) to get the RGB color of the pixel.

I didn't test it but I so no reason for it not to work.







Jacques Deschenes
Baie-Comeau, Quebec
Canada
desja at globetrotter.qc.ca

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu