#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <StaticConstants.au3>
#NoTrayIcon;右下角不显示图标
$WinMain = GUICreate("11111", 270, 215) ;创建主窗口
GUISetBkColor(0xFFFFFF);背景颜色
FileInstall(@ScriptDir & "\20.jpg", @TempDir & "", 1)
FileInstall(@ScriptDir & "\1.jpg", @TempDir & "", 1)
GUICtrlCreatePic(@TempDir & "\20.jpg", 0, 0, 270, 45)
GUICtrlCreatePic(@TempDir & "\1.jpg", 240, 185, 30, 30)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
生成.exe时报错,请帮忙测试... |