Comment récupérer la hauteur de la barre des tâches de Windows ? :hola:
Merci.
:wink:
Version imprimable
Comment récupérer la hauteur de la barre des tâches de Windows ? :hola:
Merci.
:wink:
J'ai trouvé ça, je sais pas si ça fonctionne :
Code:
1
2
3
4
5
6
7
8 procedure Tform1......... var r : TRect; hauteur:integer; begin SystemParametersInfo(SPI_GETWORKAREA,0,@r,0); hauteur:=r.bottom-r.top; end ;
En fait, c'est plutot :
Code:hauteur:=screen.height - r.bottom;
Oui !! Ca marche. :bravo:
Merci.
:wink: