GUICtrlCreateGroup可以隐藏么?[已解决]
本帖最后由 jonyzhr 于 2010-6-1 08:43 编辑如题,使用GUICtrlCreateGroup创建的分组可以隐藏么,为何设置为$GUI_HIDE还是没办法隐藏. #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
页:
[1]