|
发表于 2014-6-5 07:26:26
|
显示全部楼层
回复 18# qsy666888
Func GUI()
Local $ini, $htv, $csname = "class", $hClass = 0
$Form1 = GUICreate("treeview", 300, 300)
GUISetOnEvent($GUI_EVENT_CLOSE, "GForm1Close")
$htv = GUICtrlCreateTreeView(0, 0, 150, 300, -1, $WS_EX_CLIENTEDGE)
$Button1 = GUICtrlCreateButton("更 新", 216, 208, 67, 25)
GUICtrlSetOnEvent($Button1, "gengxin")
GUISetState(@SW_SHOW)
GUISetState()
readinfo("data.ini", $htv)
EndFunc ;==>GUI
$Form1 = GUICreate("treeview", 300, 300)这个有改吗?
我不会出现两个窗口啊 |
|