Ich habe das Problem, wenn ich das Bild male, und es breiter mach als es eigentlich ist, wird es transparent zur seite:-( Und das soll nicht, weiß jemand wie ich das verhindern kann ohne das ich die Größe des Bildes ändern muss?
Spoiler anzeigen
#include <GDIPlus.au3>
[/autoit] [autoit][/autoit] [autoit]Opt("WinTitleMatchMode", 4)
$task = WinGetHandle("classname=Shell_TrayWnd")
WinSetState ($task,"",@SW_HIDE)
$hWnd = GUICreate ("PC-Manager",@DesktopWidth,@DesktopHeight,0,0,0x80000000)
GUISetState (@SW_SHOW)
_GDIPlus_Startup()
$hGrafic = _GDIPlus_GraphicsCreateFromHWND ($hWnd)
$TaskImage = _GDIPlus_ImageLoadFromFile (@ScriptDir & "\TL.png")
_GDIPlus_GraphicsDrawImageRect ($hGrafic,$TaskImage,0,@DesktopHeight - 40,@DesktopWidth,40)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case -3
WinSetState ($task,"",@SW_SHOW)
Exit
EndSwitch
WEnd