Ich will mit GUICtrlSetGraphic über ein jpeg bild zeichnen um was zu markieren, aber egal was in den Styles eintrage, das Bild überlagert immer die linien. Hat irgendwer ne Ahnung?
[autoit]
#include <GUIConstants.au3>
Opt("GUIOnEventMode", 1)
[/autoit][autoit][/autoit][autoit]$Form1 = GUICreate("AForm1", 413, 305, 303, 219)
$graph1 = GUICtrlCreateGraphic(96, 72, 193, 177, BitOR($SS_CENTER,$SS_NOTIFY))
GUICtrlSetGraphic(-1,$GUI_GR_HINT, 1)
GUICtrlSetGraphic($graph1,$GUI_GR_MOVE, 100, 100)
GUICtrlSetGraphic($graph1,$GUI_GR_COLOR, 0xff00)
GUICtrlSetGraphic($graph1,$GUI_GR_LINE, 200, 200)
GUICtrlSetGraphic($graph1,$GUI_GR_CLOSE)
GUICtrlSetGraphic($graph1,$GUI_GR_REFRESH)
$Pic1 = GUICtrlCreatePic(@Systemdir & "\oobe\images\merlin.gif", 32, 16, 185, 177, -1 ,$WS_EX_LAYERED )
GUISetOnEvent($GUI_EVENT_CLOSE, "Close")
GUISetState(@SW_SHOW)
While 1
Sleep(100)
WEnd
Func Close()
Exit
EndFunc ;==>Close