UDF > WinAPIEx > System > Windows >


_WinAPI_GetClientHeight

Obtient la hauteur de la zone cliente d'une fenêtre

#include <WinAPISysWin.au3>
_WinAPI_GetClientHeight ( $hWnd )

Paramètre

$hWnd Handle de la fenêtre

Valeur de retour

Succès: Retourne la hauteur de la zone cliente.
Échec: Définit @error <> 0.

En relation

_WinAPI_GetClientWidth

Exemple

#include <MsgBoxConstants.au3>
#include <WinAPISysWin.au3>

Example()

Func Example()
    Local $hWnd
    $hWnd = GUICreate("test")
    MsgBox($MB_SYSTEMMODAL, "Client", "Hauteur zone cliente: " & _WinAPI_GetClientHeight($hWnd))
EndFunc   ;==>Example