#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <WINAPI.au3>
;#include <WinAPISysWin.au3>
Global $iWidtha = @DesktopWidth
Global $iHeighta = @DesktopHeight
$Form1 = GUICreate("Form1", $iWidtha - 48, $iHeighta - 130, -1, -1, $WS_POPUP)
GUICtrlCreatePic('back01.jpg', -1, -1, 1800, 1000)
$Label1 = GUICtrlCreateLabel("Label1", 160, 200, 132, 33)
GUICtrlSetFont(-1, 24, 600, 0, 'Arial');"微软雅黑")
GUICtrlSetColor(-1, 0x0000FF)
GUICtrlSetBkColor(-1, -2)
GUICtrlSetCursor(-1, 0)
$Button1 = GUICtrlCreateButton("退出", 24, 16, 65, 33)
;GUISetBkColor(0x444444)
$Form2 = GUICreate("Form2", 900, 80, -1, -1, $WS_POPUP, $WS_EX_TOPMOST)
$Button3 = GUICtrlCreateButton("333", 24, 16, 65, 33)
GUISetBkColor(0xABCDEF)
$Form3 = GUICreate("Form3", 300, 80, 492, 124, $WS_POPUP, $WS_EX_TOPMOST);,$WS_EX_LAYERED)
GUISetBkColor(0xA1BFAA - 0x440000);GUISetBkColor(0x363636)
_WinAPI_SetLayeredWindowAttributes($Form3, 0x363636)
$Button5 = GUICtrlCreateButton("555", 24, 16, 65, 33)
GUISetState(@SW_SHOW, $Form1)
GUISetState(@SW_SHOW, $Form2)
GUISetState(@SW_SHOW, $Form3)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE, $Button1
Exit
EndSwitch
WEnd
|