怎么做这样一个窗口!
运行起来后只有两个按扭 A和B点A按扭之后运行x:\a.exe
点B按扭之后运行x:\B.exe 帮助里就有作按扭的例子,找找就行了 $Form1 = GUICreate("示例", 225, 90, -1, -1)
$Button1 = GUICtrlCreateButton("A", 8, 8, 99, 73, 0)
$Button2 = GUICtrlCreateButton("B", 117, 8, 99, 73, 0)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case -3
Exit
Case $Button1
Run("x:\a.exe")
Case $Button2
Run("x:\b.exe")
EndSwitch
WEnd
建议多看下帮助
页:
[1]