ahk_man
Joined: 20 Jun 2004 Posts: 39
|
Posted: Wed Sep 15, 2004 4:10 am Post subject: gui help! |
|
|
How do I associate each button to an action? For example, I created a gui on the bottom which has three buttons: pinghost, ping, and ipconfig. I want the program to display ipconfig configuration if I click on the ipconfig button. Please help.
; Generated by SmartGUI Creater
Gui, Add, Button, x57 y48 w100 h40, ping host
Gui, Add, Button, x177 y48 w100 h40, ping
Gui, Add, Button, x297 y48 w100 h40, ipconfig
Gui, Show, x496 y289 h266 w452, Generated using SmartGUI 2.3
Return
GuiClose:
ExitApp
Return |
|