Function Reference


_WinAPI_GetClientHeight

Retrieves the height of a window's client area

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

Parameters

$hWnd Handle of window

Return Value

Success: the client area height.
Failure: sets the @error flag to non-zero.

Related

_WinAPI_GetClientWidth

Example

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

Example()

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