howdy ho!
kurz und knackig:
[autoit]Func _splatter()
$GUIsplatter = GUICreate("",@DesktopWidth,@DesktopHeight,0,0,$WS_POPUP,BitOR($WS_EX_LAYERED,$WS_EX_TOPMOST))
GUISetBkColor(0xABCDEF)
_WinAPI_SetLayeredWindowAttributes($GUIsplatter, 0xABCDEF, 255)
GUISetState(@SW_SHOW)
Sleep(1000)
Global $hImageS, $hGraphicS
$hImageS = _GDIPlus_ImageLoadFromFile("blut.png")
$hGraphicS = _GDIPlus_GraphicsCreateFromHWND($GUIsplatter)
$splatterBlut = _GDIPlus_GraphicsDrawImageRect($hGraphicS,$hImageS,0,@DesktopHeight-600,800,600)
sleep(10000)
_GDIPlus_GraphicsDispose($hGraphicS)
_GDIPlus_ImageDispose($hImageS)
GUIDelete($GUIsplatter)
EndFunc
was mach ich falsch wenn ich die TEILWEISE transparenten stellen nich in der farbe 0xABCDEF haben möchte? der rest der gui wird transparent angezeigt. die grafik hänge ich an.
mfg
sgtigram