Coordonnées d'une application ?

ESC - 24 nov. 2000 à 16:12
 int19h - 25 nov. 2000 à 13:35
J'ai le handle (Long) d'une application quelconque. Je voudrais connaitre ces coordonnées absolue X et Y par rapport à mon écran. Si en plus, j'ai sa longueur et sa largeur, cela serait trop cool.
D'avance merci.

1 réponse

Eh hop, encore un p'tit API ;-)

Public Declare Function GetWindowRect Lib "user32" Alias "GetWindowRect" (ByVal hwnd As Long, lpRect As RECT) As Long

Avec :
Public Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type

Voila, si t'as des problemes pour mettre en oeuvre, un p'tit mail direct : Int19h@caramail.com
0
Rejoignez-nous