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

进度条能正常显示下载进度,但下载的文件不完整

[复制链接]
发表于 2009-11-23 23:02:18 | 显示全部楼层 |阅读模式
本帖最后由 pjydsj 于 2009-11-24 23:56 编辑

进度条显示成功,但是下载的文件不完整,代码如下:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=C:\Documents and Settings\Ming\桌面\Form1.kxf
$Form1 = GUICreate("360安全卫士", 338, 89, 335, 218)
$Progress1 = GUICtrlCreateProgress(16, 16, 302, 17)
$Button1 = GUICtrlCreateButton("开始", 128, 48, 75, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        If $nMsg=$Button1 Then GUICtrlSetData($Button1,'停止')
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit

        EndSwitch
WEnd
请高手帮忙解决
发表于 2009-12-8 15:26:09 | 显示全部楼层
你这里只有一个界面   其他什么没?
怎么分析?
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-9-22 15:41 , Processed in 0.080365 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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