Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Point method
Message
De
16/03/2009 11:59:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01388348
Message ID:
01388409
Vues:
57
>>>I used thisform.point to return pixel at 50,50 on a form that is 100,100. If I place a window from a different program over the vfp form covering the pixel at 50,50.... thisform.point returns -1 as if the pixel at 50,50 is no longer there. Is there any way to change this behavior?
>>
>>Joe,
>>Are you trying to get pixel colors? You can use this code to get color from anywhere on screen:
>
>Yes I want the pixel color of the vfp form. Not the whole screen. It seems that thisform.point only works if the form is not under a different window?

Joe,
I sent you code that does that via winAPI. I don't know how point method does it. I remember I tried it years ago and wasn't satisfied.

(I didn't mean whole screen but any where on screen, where ever you move your mouse to, even on a second,third monitor and need not be a VFP form - better try running to see what I meant).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform