ユーザーがテキストを入力した際にエディットコントロールが表示するパスワード文字を取得します。
#Include <GuiEdit.au3>
_GUICtrlEdit_GetPasswordChar($hWnd)
パラメータ
| $hWnd | コントロールのハンドル | 
返し値
成功: 返し値はユーザーによって入力された文字の代わりに表示される文字を表します。
注意
なし。
関連
_GUICtrlEdit_SetPasswordChar
例
#AutoIt3Wrapper_au3check_parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
#include <GuiEdit.au3>
#include <GuiConstantsEx.au3>
Opt('MustDeclareVars', 1)
$Debug_Ed = False ; Edit関数に渡されるClassNameを調べる。動作を確認するにはTrueを設定し、他のコントロールのハンドルを使用
_Main()
Func _Main()
    Local $hEdit
    ; GUIを作成
    GUICreate("Edit Get Password Char", 400, 300)
    $hEdit = GUICtrlCreateInput("Test of build-in control", 2, 2, 394, 25, $ES_PASSWORD)
    GUISetState()
    MsgBox(4096, "Information", "Password Char: " & _GUICtrlEdit_GetPasswordChar($hEdit))
    _GUICtrlEdit_SetPasswordChar($hEdit, "$") ; パスワード文字を$に変更
    
    MsgBox(4096, "Information", "Password Char: " & _GUICtrlEdit_GetPasswordChar($hEdit))
    _GUICtrlEdit_SetPasswordChar($hEdit) ; ユーザーによって入力された文字を表示
    MsgBox(4096, "Information", "Password Char: " & _GUICtrlEdit_GetPasswordChar($hEdit))
    ; ユーザーが終了するまでループ
    Do
    Until GUIGetMsg() = $GUI_EVENT_CLOSE
    GUIDelete()
EndFunc   ;==>_Main