It doesn't work with my GUI.
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <WINAPI.au3>
#include <sendmessage.au3>
#include <guiconstantsex.au3>
#include "GUIScrollbars_Ex.au3"
;Global Const $LWA_ALPHA = 0x2
;Global Const $LWA_COLORKEY = 0x1
HotKeySet("ESC", "_Exit")
$hGUI = GUICreate("Test", 230, 100, -1, -1, $WS_POPUP, $WS_EX_LAYERED)
GUISetBkColor(0xABCDEF)
$iMemo = GUICtrlCreateLabel("Click on the text to drag this transparent GUI" & @CRLF & "Press ESC to exit", 10, 10, 200, 500)
GUICtrlSetColor(-1, 0x000000)
GUICtrlSetFont($iMemo, 9, 400, 0, "Franklin Gothic Medium")
_WinAPI_SetLayeredWindowAttributes($hGUI, 0xABCDEF, 250)
GUISetState()
_GUIScrollbars_Generate($hGUI, 0, 300)
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
Exit
Case $GUI_EVENT_PRIMARYDOWN
_SendMessage($hGUI, $WM_SYSCOMMAND, 0xF012, 0)
EndSwitch
WEnd
Func _Exit()
Exit
EndFunc