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

GUICtrlCreateGroup可以隐藏么?[已解决]

[复制链接]
发表于 2010-5-16 18:21:38 | 显示全部楼层 |阅读模式
本帖最后由 jonyzhr 于 2010-6-1 08:43 编辑

如题,使用GUICtrlCreateGroup创建的分组可以隐藏么,为何设置为$GUI_HIDE还是没办法隐藏.
发表于 2010-5-17 00:38:48 | 显示全部楼层
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
GUICreate("自身毁灭", 320, 240, 208, 170)
$Group1 = GUICtrlCreateGroup("GUICtrlCreateGroup创建的分组", 8, 16, 297, 209)
$Button1 = GUICtrlCreateButton("点我吧", 88, 58, 137, 89)
GUISetState(@SW_SHOW)
While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit
                Case $Button1
                        GUICtrlSetState($Group1, $GUI_HIDE)
                        GUICtrlSetState($Button1, $GUI_HIDE)
        EndSwitch
WEnd
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-10-6 11:23 , Processed in 0.119391 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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