找回密码
 加入
搜索
查看: 1480|回复: 0

[GUI管理] 请高手看下这个打开网页的代码为什么出错了??

[复制链接]
发表于 2012-10-3 20:50:56 | 显示全部楼层 |阅读模式
#include<windowsconstants.au3>
#include<guiconstantsex.au3>
$main = GUICreate(" ", @desktopwidth/4,@desktopheight/3,default, default,$WS_POPUP, $WS_EX_TOOLWINDOW)
guisetfont(20)
guictrlcreatelabel("请输入你要进入的网址。",9,9)
$yes=guictrlcreatebutton("确定",10,200)
$no=GUICtrlCreateButton("取消",200,200)
$info=guictrlcreateinput("",9,90,@desktopwidth/4-19,49)
guisetbkcolor("0x4FC6FF")
guisetstate()
while 1
$a=guigetmsg()
switch $a
case $gui_event_close
exit
Case $no
        Exit
Case $yes
        MsgBox(0," ",$yes)
        Run(@comspec&" /c start "&$info)
endswitch
wend
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-6-2 22:37 , Processed in 0.078226 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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