-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
see #281
- Loading branch information
Showing
3 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
tests/Test_Folder/Graphical User Interfaces/Gui-Hwnd_ex4.ah1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Gui, Add, Text,, Gui 1`nNormal | ||
Gui, +HWNDv1 | ||
Gui, Show, w100 h100 y0 | ||
Gui, New, +hwndv2 | ||
Gui, Add, Text,, Gui 2`nNew | ||
Gui, Show, w100 h100 y150 | ||
Gui, g2:New, +hwndv3 | ||
Gui, g2:Add, Text,, Gui 3`nName:New | ||
Gui, g2:Show, w100 h100 y300 | ||
Gui, g3: New, +hwndv4 | ||
Gui, g3: Add, Text,, Gui 4`nName: New | ||
Gui, g3: Show, w100 h100 y450 | ||
Return | ||
|
||
^l::MsgBox % v1 "`n" v2 "`n" v3 "`n" v4 |
19 changes: 19 additions & 0 deletions
19
tests/Test_Folder/Graphical User Interfaces/Gui-Hwnd_ex4.ah2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
myGui := Gui() | ||
myGui.Add("Text", , "Gui 1`nNormal") | ||
v1 := myGui.Hwnd | ||
myGui.Show("w100 h100 y0") | ||
myGui1 := Gui() | ||
v2 := myGui1.Hwnd | ||
myGui1.Add("Text", , "Gui 2`nNew") | ||
myGui1.Show("w100 h100 y150") | ||
g2 := Gui() | ||
v3 := g2.Hwnd | ||
g2.Add("Text", , "Gui 3`nName:New") | ||
g2.Show("w100 h100 y300") | ||
g3 := Gui() | ||
v4 := g3.Hwnd | ||
g3.Add("Text", , "Gui 4`nName: New") | ||
g3.Show("w100 h100 y450") | ||
Return | ||
|
||
^l::MsgBox(v1 "`n" v2 "`n" v3 "`n" v4) |