Hi,
I am looking to make a transparent background for my GUIĀ
#NoTrayIcon
#include <GUIConstantsEx.au3>
#include <WinAPI.au3>
#include <WindowsConstants.au3>
Example1()
;Example2()
GUICtrlCreateLabel("This is text on a transparent Layered GUI", 10, 10, 200, 20, -1)
GUICtrlCreateButton("Button", 10, 40, 40)
GUISetBkColor(0xABCDEF)
_WinAPI_SetLayeredWindowAttributes($hGui, 0x010101)
_WinAPI_SetLaye
You've got $WS_POPUP in the wrong argument spot.
#NoTrayIcon
#include <GUIConstantsEx.au3>
#include <WinAPI.au3>
#include <WindowsConstants.au3>
Global $hGui = GUICreate("trans", 300, 400, -1, -1, $WS_POPUP, BitOR($WS_EX_TOPMOST, $WS_EX_LAYERED))
GUICtrlCreateLabel("This is text on a transparent Layered GUI", 10, 10, 200, 20, -1, $GUI_WS_EX_PARENTDRAG)
GUICtrlCreateButton("Button", 10, 40, 40)
_WinAPI_SetLayere