Function Reference

_WinAPI_GetClientHeight

ウィンドウのクライアント領域の高さを取得します。

#Include <WinAPI.au3>
_WinAPI_GetClientHeight($hWnd)

 

パラメータ

$hWnd ウィンドウのハンドル

 

返し値

成功: クライアント領域の高さ
失敗: @errorを設定します。

 

注意

なし。

 

関連

_WinAPI_GetClientWidth

 


#AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
Opt('MustDeclareVars', 1)

#include <WinAPI.au3>

_Main()

Func _Main()
    Local $hwnd
    $hwnd = GUICreate("test")
    MsgBox(4096, "Client", "Client Height: " & _WinAPI_GetClientHeight($hwnd))
EndFunc   ;==>_Main