[futurebasic] Re: [FB] Pixel color of the content of a window, not the screen

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2002 : Group Archive : Group : All Groups

From: Marc Girondot <marc.girondot@...>
Date: Mon, 13 May 2002 10:17:35 +0200
>Le lundi 13 mai 2002, à 09:52 , Marc Girondot a écrit :
>
>>What is the correct solution to get the pixel color of any point
>>present on a window, whatever another window, or the cursor (OK I can
>>mask it), or the dock cover part of the window.
>>GETCPIXEL gives the color the screen pixel, not the color of the
>>window content.
>
>i don't understand the question. or rather the nuance between
>'screen pixel' and 'window content'.
>
>anyway, do you set the port to the desktop before grabbing
>the screen pixel?

I don't understand the answer !!
About the question.
Imaging you open a window and put an image inside.
If the Dock covers part of the image, if you use GETCPIXEL to analyze
the content of the window, when you analyze the part covers by the
dock, you will obtain the color of the dock, not the image below.
Thanks


>:-j
>
>
>--
>To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>


--

__________________________________________________________
Marc Girondot, Pr
Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS et Université Paris-Sud, Paris XI , UPRESA 8079
Bâtiment 362
91405 Orsay Cedex, France

Tel:  33 1 (0)1.69.15.72.30   Fax: 33 1 (0)1 69 15 56 96   e-mail:
marc.girondot@...
Web: http://www.ese.u-psud.fr/epc/conservation/Marc.html