#include <GDIPlus.au3>
#include <GuiAero.au3>
#include <GUIConstants.au3>

$hwnd = GUICreate("",800,600)
GUICtrlCreateLabel("WORSE", 2, 2)
GUICtrlSetFont(-1,9,400,0,"Arial")
_Vista_EnableBlurBehind($hwnd)
GUISetState()
_GDIPlus_Startup()
$hGraphic = _GDIPlus_GraphicsCreateFromHWND($hWnd)
$hBrush = _GDIPlus_BrushCreateSolid(0xFF000000) ;Alphachannel = 255!
;~ $hBrush = _GDIPlus_BrushCreateSolid(0x00000000) ;Alphachannel = 0 --> Funktioniert nicht, gleiches Ergebnis wie beim Label
$hFormat = _GDIPlus_StringFormatCreate()
$hFamily = _GDIPlus_FontFamilyCreate("Arial")
$hFont = _GDIPlus_FontCreate($hFamily, 12)
$tLayout = _GDIPlus_RectFCreate(0, 20, 0, 0)
$aInfo = _GDIPlus_GraphicsMeasureString($hGraphic, "Das ist nur ein Aero-Style Beispiel", $hFont, $tLayout, $hFormat)
_GDIPlus_GraphicsDrawStringEx($hGraphic, "Das ist nur ein Aero-Style Beispiel", $hFont, $aInfo[0], $hFormat, $hBrush)


While 1 * Sleep(10)
	Switch GUIGetMsg()
		Case $GUI_EVENT_CLOSE
			Exit
	EndSwitch
WEnd
