1. exw 'get_pixel'
- Posted by "Graeme." <hmi at POWERUP.COM.AU> Dec 16, 1997
- 693 views
- Last edited Dec 17, 1997
Does anybody know how to read pixels from the windows desktop? Thanks in advance. Graeme Burke.
2. Re: exw 'get_pixel'
- Posted by Jacques Deschenes <desja at GLOBETROTTER.QC.CA> Dec 16, 1997
- 649 views
- Last edited Dec 17, 1997
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
3. Re: exw 'get_pixel'
- Posted by "Graeme." <hmi at POWERUP.COM.AU> Dec 17, 1997
- 660 views
- Last edited Dec 18, 1997
At 21:16 16/12/97 -0500, you wrote: >---------------------- Information from the mail header ----------------------- >Sender: Euphoria Programming for MS-DOS <EUPHORIA at >MIAMIU.ACS.MUOHIO.EDU> >Poster: Jacques Deschenes <desja at GLOBETROTTER.QC.CA> >Subject: Re: exw 'get_pixel' >------------------------------------------------------------------------------- > >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 > Thanks, I'll check it out. Graeme.