找回密码
 加入
搜索
查看: 1243|回复: 1

顯示重疊了

[复制链接]
发表于 2009-11-5 21:21:51 | 显示全部楼层 |阅读模式
為什麼按下button1在按button2內容會重疊= ="



#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("程式分類", 700, 536, 344, 115)
$Button1 = GUICtrlCreateButton("燒碼類", 16, 24, 131, 65, 0)
$Button2 = GUICtrlCreateButton("產測類", 16, 104, 131, 65, 0)
$Button3 = GUICtrlCreateButton("不知道什麼類", 16, 264, 131, 65, 0)
$Button4 = GUICtrlCreateButton("驅動類", 16, 184, 131, 65, 0)
$Group1 = GUICtrlCreateGroup("檔案顯示", 160, 8, 529, 521, -1)

GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT)

GUICtrlCreateGroup("", -99, -99, 1, 1)

GUISetState(@SW_SHOW)
$control = ObjCreate("Shell.Explorer.2")
$Obj = GUICtrlCreateObj($control, 176, 24, 497, 489)
$contro2 = ObjCreate("Shell.Explorer.2")
$Obj = GUICtrlCreateObj($contro2, 176, 24, 497, 489)
$contro3 = ObjCreate("Shell.Explorer.2")
$Obj = GUICtrlCreateObj($contro3, 176, 24, 497, 489)

#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
        Case $GUI_EVENT_CLOSE
                        Exit
        Case $Button1
                $control.navigate("C:\Documents and Settings\Administrator\桌面\公司所有東西\燒分位備份區")
               
                Case $Button2
                $contro2.navigate("C:\Documents and Settings\Administrator\桌面\公司所有東西\產測")
        Case $Button3
                $contro3.navigate("C:\Documents and Settings\Administrator\桌面\公司所有東西\driver")
               

        EndSwitch
WEnd
 楼主| 发表于 2009-11-5 21:23:44 | 显示全部楼层
而且顯示會lag= =
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-11-16 10:43 , Processed in 0.078283 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表