Hi,
habe folgendes Problem: Ich erstelle mir eine ProgressBar und möchte dort Schwellwerte per GUICtrlCreateGraphic einzeichnen. Aber was ich auch mache, die Grafik liegt immer "hinter" der ProgressBar (Obwohl der Z-Index der höchste ist!). Folgendes Beispiel:
Spoiler anzeigen
[autoit]
#include <GUIConstants.au3>
[/autoit] [autoit][/autoit] [autoit]GUICreate("Overpaint Controls", 220, 150)
GUICtrlCreateProgress(10, 10, 200, 30, $PBS_SMOOTH)
GUICtrlCreateGraphic(60, 10, 5, 35)
GuiCtrlSetState(-1, BitOR($GUI_DISABLE, $GUI_ONTOP))
GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 0, 0)
GUICtrlSetGraphic(-1, $GUI_GR_PENSIZE, 5)
GUICtrlSetGraphic(-1, $GUI_GR_LINE, 0, 35)
GUISetState()
[/autoit] [autoit][/autoit] [autoit]While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Es funktioniert so aber nicht, wie man sieht. Weiß da jemand weiter?