找回密码
 加入
搜索
查看: 2505|回复: 3

[GUI管理] 窗口变化(已解决)

[复制链接]
发表于 2010-8-13 18:09:39 | 显示全部楼层 |阅读模式
本帖最后由 lin0308 于 2010-8-13 19:50 编辑


如上图,当点击高级选项时变成下图


如何做到这种效果

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入

×

评分

参与人数 1金钱 +10 收起 理由
afan + 10 感谢主动将修改帖子分类为[已解决],请继续 ...

查看全部评分

发表于 2010-8-13 18:13:27 | 显示全部楼层
本帖最后由 afan 于 2010-8-13 18:15 编辑

http://www.autoitx.com/forum.php?mod=viewthread&tid=16802

评分

参与人数 1贡献 +1 收起 理由
lin0308 + 1 谢谢

查看全部评分

发表于 2010-8-13 20:19:05 | 显示全部楼层
新手还是应该多搜搜。
发表于 2010-9-13 11:41:52 | 显示全部楼层
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("测试", 633, 454, 192, 114)
$Group1 = GUICtrlCreateGroup("我靠", 24, 8, 305, 297)
$Button1 = GUICtrlCreateButton("就爱点你", 160, 208, 89, 25, $WS_GROUP)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit
                        Case $Button1
yk()
        EndSwitch
WEnd


Func yk()
GUISetState(@SW_HIDE,$Form1 )
$Form1_1 = GUICreate("测试", 634, 455, 192, 114)
$Group1 = GUICtrlCreateGroup("我靠", 24, 8, 577, 417)
$Button2 = GUICtrlCreateButton("应用", 496, 392, 89, 25, $WS_GROUP)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        GUISetState(@SW_SHOW,$Form1 )
                Case $Button2 
                GUISetState(@SW_SHOW,$Form1 )
                GUISetState(@SW_HIDE,$Form1_1)
        EndSwitch
WEnd

EndFunc   ;==>cka
自己编的,你参孝一下。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-6-3 01:20 , Processed in 0.081536 second(s), 25 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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