找回密码
 加入
搜索
查看: 1552|回复: 6

哪位大哥大姐进来帮帮小弟界面显示问题,先谢谢各位

[复制链接]
发表于 2009-2-11 22:38:28 | 显示全部楼层 |阅读模式
就是触到“正在运行”就在 在界面里面 显示“正在运行”触到“以关闭”就在 在界面里面 显示“以关闭”



[ 本帖最后由 116154801 于 2009-2-12 20:39 编辑 ]
发表于 2009-2-11 22:54:10 | 显示全部楼层
?什么意思?莫名其妙
发表于 2009-2-12 00:14:09 | 显示全部楼层
GUIGetMsg ( 1 )   后 判断$array[3] $array[4] 的位置
或者 MouseGetPos
 楼主| 发表于 2009-2-12 19:44:46 | 显示全部楼层
哎 还是不会。。
 楼主| 发表于 2009-2-12 20:39:45 | 显示全部楼层
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>


#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 575, 137, 192, 124)
$Edit = GUICtrlCreateEdit("", 8, 16, 465, 97)
$Button1 = GUICtrlCreateButton("Button1", 480, 16, 73, 41, 0)
$Button2 = GUICtrlCreateButton("Button1", 480, 71, 73, 41, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

GUICtrlSetData($Edit,"等待...")


While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Button1
            GUICtrlSetData($Edit,"首 页")
        Case $Button2



            GUICtrlSetData($Edit,"登 陆")
    EndSwitch
WEnd

自己研究了下 终于OK了~!!!!
发表于 2009-2-13 10:28:25 | 显示全部楼层

这个好象和你最开始说的不大一样啊
 楼主| 发表于 2009-2-13 11:12:08 | 显示全部楼层
因为都是 GUICtrlSetData 一样一样啦 呵呵···
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-5-5 10:05 , Processed in 0.072474 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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