UDF > WinAPIEx > System > Windows >


_WinAPI_GetClientWidth

Obtient la largeur de la zone cliente d'une fen�tre

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

Param�tre

$hWnd Handle de la fen�tre

Valeur de retour

Succ�s: Retourne la largeur de la zone cliente.
�chec: D�finit @error <> 0.

En relation

_WinAPI_GetClientHeight

Exemple

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

Example()

Func Example()
    Local $hWnd
    $hWnd = GUICreate("test")
    MsgBox($MB_SYSTEMMODAL, "Client", "Largeur zone Cliente: " & _WinAPI_GetClientWidth($hWnd))
EndFunc   ;==>Example