1. exw 'get_pixel'

Does anybody know how to read pixels
from the windows desktop?

Thanks in advance.

Graeme Burke.

new topic     » topic index » view message » categorize

2. 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

new topic     » goto parent     » topic index » view message » categorize

3. Re: exw 'get_pixel'

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu