请教 如何隐藏或关闭GUI上面的图片?
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 398, 328, 193, 125)
$Button1 = GUICtrlCreateButton("显示", 16, 272, 81, 33, 0)
$Button2 = GUICtrlCreateButton("隐藏", 144, 272, 89, 33, 0)
$Button3 = GUICtrlCreateButton("退出", 280, 272, 89, 33, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$pick = InetGet("http://ptlogin2.qq.com/getimage?0.9949486774375326", "QQ.bmp", 1, 0)
$shuashau = GUICtrlCreatePic("QQ.bmp", 35, 42, 130, 53) ;在GUI上创建一个图片控件
Case $Button2
Case $Button3
Exit
EndSwitch
WEnd
[ 本帖最后由 论坛管理员 于 2008-9-9 22:12 编辑 ] |