ap4119 发表于 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

ap4119 发表于 2009-11-5 21:23:44

而且顯示會lag= =
页: [1]
查看完整版本: 顯示重疊了