Anonymous user
Simple windowed application: Difference between revisions
→{{header|AutoHotkey}}
m (omit reason) |
|||
Line 74:
=={{header|AutoHotkey}}==
<lang Autohotkey>
Gui, Add,
Gui, Add, Button, gButtonClick xm, click me ; add a Button-Control
Gui, Show, , Simple windowed application ; show the Window
▲ClickButton: ; the subroutine executed each time the Button-Control is clicked
▲ count ++ ; increment the click-counting var
▲ GuiControl, , GuiText , %count% ; update the Text-Control with the click-counting var
▲ return ; end of the subroutine
GuiClose: ; the subroutine executed when the Window is closed
ExitApp ; exit this process
Return</lang>
=={{header|C}}==
|