salut,
tu as GetWindowRect a utiliser comme ceci :
RECT rt; UINT xPos, yPos, iLongueur, iHauteur;
GetWindowRect(hWnd, &rt);
xPos = rt.left; yPos = rt.top; iLongueur = rt.right - rt.left; iHauteur = rt.top - rt.bottom;
------------------------------- Réponse au message : -------------------------------
salut !! comment on peut récuperer la position X,Y d'un objet et sa taille (longueur, largeur);
j'entend en fait par objet, un bouton.
merci
|