autothem 发表于 2009-5-17 19:29:04

我看明白了,楼主需要一个按钮,这个按钮的作用就是先退出程序,然后重新启动程序

对吧?

lifuxing8 发表于 2009-11-6 00:45:34

本帖最后由 lifuxing8 于 2009-11-6 00:49 编辑

刷新自身窗口用递归算法
createform()
func createform()
$Form1 = GUICreate("中国移动", 622, 446, 254, 133)
$Button2 = GUICtrlCreateButton("删除功能", 108, 7, 88, 25)
GUICtrlSetBkColor($Button2, 0xF1EFE2)
.....
while 1
$msg = GUIGetMsg()
      Select
        Case $msg = $GUI_EVENT_CLOSE
           Exit       
                case $msg=$Button2
        GUIDelete($Form1)
        ......
        ......
        createform()
       endselet
wend
endfunc

316428696 发表于 2009-11-8 21:10:02

可以做到!

eaglelin 发表于 2013-12-2 09:40:56

回复 17# lifuxing8


    非常感谢

au3x 发表于 2014-9-10 14:57:35

17楼,多谢你啊,这么好一个列子,学习了!
页: 1 [2]
查看完整版本: AU3刷新能否实现