Guten abend Com.
Schnelle frage...
kann ich eigentlich die reinfolge von buttons bildern und labels einstellen ?!
sprich das ein button immer vorne ist auch wenn sich bilder dahinter bewegen...
mein script:
Spoiler anzeigen
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <StaticConstants.au3>
$PicMoveStatus = 0
$GUI = GUICreate("", 289, 477, -1, -1,$WS_POPUP,$WS_EX_CONTROLPARENT)
GUISetBkColor(0x000000)
$Button1 = GUICtrlCreateButton("Undefined", 8, 456, 57, 17)
$Pic1 = GUICtrlCreatePic("288 x 476.jpg", 0, 0, 289, 477,BitOR($WS_GROUP,$WS_CLIPSIBLINGS))
$Pic2 = GUICtrlCreatePic("Unbenannt.jpg",-16, 477, 313, 33);444 oben,477 Unten
GUICtrlSetCursor(-1, 4)
$Graphic1 = GUICtrlCreateGraphic(0, 430, 289, 28)
GUICtrlSetCursor(-1, 4)
;~ $Label1 = GUICtrlCreateLabel("Label1", 56, 88, 36, 17,-1,$GUI_WS_EX_PARENTDRAG)
;~ GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)
GUISetState(@SW_SHOW)
[/autoit] [autoit][/autoit] [autoit]While 1
$mMsg = GUIGetMsg()
Switch $mMsg
Case $Button1
Exit
EndSwitch
[/autoit] [autoit][/autoit] [autoit]_TET()
WEnd
Test
[/autoit] [autoit][/autoit] [autoit]Func _TET()
$maus = MouseGetCursor()
If $maus = 4 Then
$PicMoveStatus = 1
GUICtrlSetPos($Pic2,-16, 444);OBEN
Else
$PicMoveStatus = 0
GUICtrlSetPos($Pic2,-16, 477);UNTEN
EndIf
EndFunc