|
发表于 2010-8-24 11:36:03
|
显示全部楼层
$GUI = GUICreate("Launcher-Playlet", 233, 333, 23, 43, $WS_POPUP, $WS_EX_LAYERED)
这个有背景图片就可以显示,GUICtrlSetState(-1, $GUI_DISABLE)没有这个按钮不好使
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$GUI = GUICreate("Launcher-Playlet", 233, 333, 23, 43, $WS_POPUP, $WS_EX_LAYERED)
$PicBACK = GUICtrlCreatePic(@TempDir & "\aa.jpg", 0, 0, 233, 333)
GUICtrlSetState(-1, $GUI_DISABLE)
$Button = GUICtrlCreateButton("button", 162, 128, 40, 20)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $Button
Exit
EndSwitch
WEnd |
|