Gui,New

提供: AutoHotkey Wiki
移動: 案内検索

実行制御 | GUI表示 | 演算・変数 | メモリ・DLL操作 | 文字列操作 | キーボード | マウス | シェル | ウィンドウ | ウィンドウグループ
ステータスバー | コントロール | サウンド | ファイル | INIファイル | レジストリ | 環境変数 | AutoHotkey | その他 | 設定関係 | オブジェクト

Gui,New [v1.1.04][編集]

新しいウィンドウを作成する。

Gui, New [, Options, Title]

Parameters[編集]

引数名 説明
Options メインGUIコマンドでサポートされているオプションのいずれかを含めることができる。
Title タイトルが省略された場合は、スクリプトのファイル名が使用される。

Remarks[編集]

便宜上、新しいウィンドウが現在のスレッドのデフォルトとして設定される。

If no name is given, special labels such as GuiClose have the default "Gui" prefix unless overridden by +LabelPrefix in the options. If the GUI which launched the current thread was created this way, A_Gui contains a HWND instead of a name. On a related note, if +HwndOutputVar is used in the options, the HWND of the new window is stored in OutputVar.

名前を指定すると、その名前の既存のGUIは破棄される。

Although this command is recommended for clarity, it is not mandatory. If one of the other Gui sub-commands (such as Gui, Add) is used and the GUI does not exist, it is automatically created.

Note: Prior to v1.1.08, this command did not set the default Gui if a name was specified.

Related[編集]

GUI