Re: exw 'get_pixel'
- Posted by Jacques Deschenes <desja at GLOBETROTTER.QC.CA> Dec 16, 1997
- 747 views
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