When changing the window transparency, the background transparency is completely lost.
In the base example from the AutoIt Help you can move merlin across the screen without the white box around him since it's transparent.
Now I wanted to add a fade in and fade out function (TransUp, TransDown) to make the example 2 a little more spooky:
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Global $g_hGui, $g_aGuiPos, $g_hPic, $g_aPicPos, $t
Extended @argumentum example with drag/mouse movement
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
;~ gone to
;~ https://www.autoitscript.com/wiki/Snippets_(_GUI_)#Animate_Display
;~ for simplicity
Global $g_hGui, $g_aGuiPos, $g_hPic, $g_aPicPos, $trans = 0, $iPic, $hPic
Example()
Func Example()
local $dragMerlin=false
$g_hGui = GUICreate("test Animate Display", 200, 100)