Transparentes Label funktioniert nicht

  • Hallo Leute ich hab mal wieder ne kleine frage bei der ich wohl den Wald nicht sehen kann vor lauter Bäumen xD

    und zwar hab ich mir ne kleine Uhr geschrieben problematisch ist nur das ich das transparente Label das ich darüber gelegt habe um die uhr verschieben zu können nicht zu existieren scheint... also das fenster lässt sich nicht verschieben aber ich komm nicht dahinter warum ich hoffe ihr könnt mir helfen danke schon mal ^^


    Spoiler anzeigen
    [autoit]

    #include <ComboConstants.au3>
    #include <EditConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <SliderConstants.au3>
    #include <StaticConstants.au3>
    #include <WindowsConstants.au3>
    #include <Misc.au3>
    #Include <Constants.au3>
    #include <GUIConstantsEx.au3>

    [/autoit] [autoit][/autoit] [autoit]

    DirCreate("C:\Excite\Clock")
    FileInstall("00.jpg", "C:\Excite\Clock\00.jpg")
    FileInstall("01.jpg", "C:\Excite\Clock\01.jpg")
    FileInstall("02.jpg", "C:\Excite\Clock\02.jpg")
    FileInstall("03.jpg", "C:\Excite\Clock\03.jpg")
    FileInstall("04.jpg", "C:\Excite\Clock\04.jpg")
    FileInstall("05.jpg", "C:\Excite\Clock\05.jpg")
    FileInstall("06.jpg", "C:\Excite\Clock\06.jpg")
    FileInstall("07.jpg", "C:\Excite\Clock\07.jpg")
    FileInstall("08.jpg", "C:\Excite\Clock\08.jpg")
    FileInstall("09.jpg", "C:\Excite\Clock\09.jpg")
    FileInstall("10.jpg", "C:\Excite\Clock\10.jpg")
    FileInstall("11.jpg", "C:\Excite\Clock\11.jpg")
    FileInstall("12.jpg", "C:\Excite\Clock\12.jpg")
    FileInstall("13.jpg", "C:\Excite\Clock\13.jpg")
    FileInstall("14.jpg", "C:\Excite\Clock\14.jpg")
    FileInstall("15.jpg", "C:\Excite\Clock\15.jpg")
    FileInstall("16.jpg", "C:\Excite\Clock\16.jpg")
    FileInstall("17.jpg", "C:\Excite\Clock\17.jpg")
    FileInstall("18.jpg", "C:\Excite\Clock\18.jpg")
    FileInstall("19.jpg", "C:\Excite\Clock\19.jpg")
    FileInstall("20.jpg", "C:\Excite\Clock\20.jpg")
    FileInstall("21.jpg", "C:\Excite\Clock\21.jpg")
    FileInstall("22.jpg", "C:\Excite\Clock\22.jpg")
    FileInstall("23.jpg", "C:\Excite\Clock\23.jpg")
    FileInstall("24.jpg", "C:\Excite\Clock\24.jpg")

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    FileInstall("00b.jpg", "C:\Excite\Clock\00b.jpg")
    FileInstall("01b.jpg", "C:\Excite\Clock\01b.jpg")
    FileInstall("02b.jpg", "C:\Excite\Clock\02b.jpg")
    FileInstall("03b.jpg", "C:\Excite\Clock\03b.jpg")
    FileInstall("04b.jpg", "C:\Excite\Clock\04b.jpg")
    FileInstall("05b.jpg", "C:\Excite\Clock\05b.jpg")
    FileInstall("06b.jpg", "C:\Excite\Clock\06b.jpg")
    FileInstall("07b.jpg", "C:\Excite\Clock\07b.jpg")
    FileInstall("08b.jpg", "C:\Excite\Clock\08b.jpg")
    FileInstall("09b.jpg", "C:\Excite\Clock\09b.jpg")
    FileInstall("10b.jpg", "C:\Excite\Clock\10b.jpg")
    FileInstall("11b.jpg", "C:\Excite\Clock\11b.jpg")
    FileInstall("12b.jpg", "C:\Excite\Clock\12b.jpg")
    FileInstall("13b.jpg", "C:\Excite\Clock\13b.jpg")
    FileInstall("14b.jpg", "C:\Excite\Clock\14b.jpg")
    FileInstall("15b.jpg", "C:\Excite\Clock\15b.jpg")
    FileInstall("16b.jpg", "C:\Excite\Clock\16b.jpg")
    FileInstall("17b.jpg", "C:\Excite\Clock\17b.jpg")
    FileInstall("18b.jpg", "C:\Excite\Clock\18b.jpg")
    FileInstall("19b.jpg", "C:\Excite\Clock\19b.jpg")
    FileInstall("20b.jpg", "C:\Excite\Clock\20b.jpg")
    FileInstall("21b.jpg", "C:\Excite\Clock\21b.jpg")
    FileInstall("22b.jpg", "C:\Excite\Clock\22b.jpg")
    FileInstall("23b.jpg", "C:\Excite\Clock\23b.jpg")
    FileInstall("24b.jpg", "C:\Excite\Clock\24b.jpg")
    FileInstall("25b.jpg", "C:\Excite\Clock\25b.jpg")
    FileInstall("26b.jpg", "C:\Excite\Clock\26b.jpg")
    FileInstall("27b.jpg", "C:\Excite\Clock\27b.jpg")
    FileInstall("28b.jpg", "C:\Excite\Clock\28b.jpg")
    FileInstall("29b.jpg", "C:\Excite\Clock\29b.jpg")
    FileInstall("30b.jpg", "C:\Excite\Clock\30b.jpg")
    FileInstall("31b.jpg", "C:\Excite\Clock\31b.jpg")
    FileInstall("32b.jpg", "C:\Excite\Clock\32b.jpg")
    FileInstall("33b.jpg", "C:\Excite\Clock\33b.jpg")
    FileInstall("34b.jpg", "C:\Excite\Clock\34b.jpg")
    FileInstall("35b.jpg", "C:\Excite\Clock\35b.jpg")
    FileInstall("36b.jpg", "C:\Excite\Clock\36b.jpg")
    FileInstall("37b.jpg", "C:\Excite\Clock\37b.jpg")
    FileInstall("38b.jpg", "C:\Excite\Clock\38b.jpg")
    FileInstall("39b.jpg", "C:\Excite\Clock\39b.jpg")
    FileInstall("40b.jpg", "C:\Excite\Clock\40b.jpg")
    FileInstall("41b.jpg", "C:\Excite\Clock\41b.jpg")
    FileInstall("42b.jpg", "C:\Excite\Clock\42b.jpg")
    FileInstall("43b.jpg", "C:\Excite\Clock\43b.jpg")
    FileInstall("44b.jpg", "C:\Excite\Clock\44b.jpg")
    FileInstall("45b.jpg", "C:\Excite\Clock\45b.jpg")
    FileInstall("46b.jpg", "C:\Excite\Clock\46b.jpg")
    FileInstall("47b.jpg", "C:\Excite\Clock\47b.jpg")
    FileInstall("48b.jpg", "C:\Excite\Clock\48b.jpg")
    FileInstall("49b.jpg", "C:\Excite\Clock\49b.jpg")
    FileInstall("50b.jpg", "C:\Excite\Clock\50b.jpg")
    FileInstall("51b.jpg", "C:\Excite\Clock\51b.jpg")
    FileInstall("52b.jpg", "C:\Excite\Clock\52b.jpg")
    FileInstall("53b.jpg", "C:\Excite\Clock\53b.jpg")
    FileInstall("54b.jpg", "C:\Excite\Clock\54b.jpg")
    FileInstall("55b.jpg", "C:\Excite\Clock\55b.jpg")
    FileInstall("56b.jpg", "C:\Excite\Clock\56b.jpg")
    FileInstall("57b.jpg", "C:\Excite\Clock\57b.jpg")
    FileInstall("58b.jpg", "C:\Excite\Clock\58b.jpg")
    FileInstall("59b.jpg", "C:\Excite\Clock\59b.jpg")
    FileInstall("00s.jpg", "C:\Excite\Clock\00s.jpg")
    FileInstall("01s.jpg", "C:\Excite\Clock\01s.jpg")
    FileInstall("02s.jpg", "C:\Excite\Clock\02s.jpg")
    FileInstall("03s.jpg", "C:\Excite\Clock\03s.jpg")
    FileInstall("04s.jpg", "C:\Excite\Clock\04s.jpg")
    FileInstall("05s.jpg", "C:\Excite\Clock\05s.jpg")
    FileInstall("06s.jpg", "C:\Excite\Clock\06s.jpg")
    FileInstall("07s.jpg", "C:\Excite\Clock\07s.jpg")
    FileInstall("08s.jpg", "C:\Excite\Clock\08s.jpg")
    FileInstall("09s.jpg", "C:\Excite\Clock\09s.jpg")
    FileInstall("10s.jpg", "C:\Excite\Clock\10s.jpg")
    FileInstall("11s.jpg", "C:\Excite\Clock\11s.jpg")
    FileInstall("12s.jpg", "C:\Excite\Clock\12s.jpg")
    FileInstall("13s.jpg", "C:\Excite\Clock\13s.jpg")
    FileInstall("14s.jpg", "C:\Excite\Clock\14s.jpg")
    FileInstall("15s.jpg", "C:\Excite\Clock\15s.jpg")
    FileInstall("16s.jpg", "C:\Excite\Clock\16s.jpg")
    FileInstall("17s.jpg", "C:\Excite\Clock\17s.jpg")
    FileInstall("18s.jpg", "C:\Excite\Clock\18s.jpg")
    FileInstall("19s.jpg", "C:\Excite\Clock\19s.jpg")
    FileInstall("20s.jpg", "C:\Excite\Clock\20s.jpg")
    FileInstall("21s.jpg", "C:\Excite\Clock\21s.jpg")
    FileInstall("22s.jpg", "C:\Excite\Clock\22s.jpg")
    FileInstall("23s.jpg", "C:\Excite\Clock\23s.jpg")
    FileInstall("24s.jpg", "C:\Excite\Clock\24s.jpg")
    FileInstall("25s.jpg", "C:\Excite\Clock\25s.jpg")
    FileInstall("26s.jpg", "C:\Excite\Clock\26s.jpg")
    FileInstall("27s.jpg", "C:\Excite\Clock\27s.jpg")
    FileInstall("28s.jpg", "C:\Excite\Clock\28s.jpg")
    FileInstall("29s.jpg", "C:\Excite\Clock\29s.jpg")
    FileInstall("30s.jpg", "C:\Excite\Clock\30s.jpg")
    FileInstall("31s.jpg", "C:\Excite\Clock\31s.jpg")
    FileInstall("32s.jpg", "C:\Excite\Clock\32s.jpg")
    FileInstall("33s.jpg", "C:\Excite\Clock\33s.jpg")
    FileInstall("34s.jpg", "C:\Excite\Clock\34s.jpg")
    FileInstall("35s.jpg", "C:\Excite\Clock\35s.jpg")
    FileInstall("36s.jpg", "C:\Excite\Clock\36s.jpg")
    FileInstall("37s.jpg", "C:\Excite\Clock\37s.jpg")
    FileInstall("38s.jpg", "C:\Excite\Clock\38s.jpg")
    FileInstall("39s.jpg", "C:\Excite\Clock\39s.jpg")
    FileInstall("40s.jpg", "C:\Excite\Clock\40s.jpg")
    FileInstall("41s.jpg", "C:\Excite\Clock\41s.jpg")
    FileInstall("42s.jpg", "C:\Excite\Clock\42s.jpg")
    FileInstall("43s.jpg", "C:\Excite\Clock\43s.jpg")
    FileInstall("44s.jpg", "C:\Excite\Clock\44s.jpg")
    FileInstall("45s.jpg", "C:\Excite\Clock\45s.jpg")
    FileInstall("46s.jpg", "C:\Excite\Clock\46s.jpg")
    FileInstall("47s.jpg", "C:\Excite\Clock\47s.jpg")
    FileInstall("48s.jpg", "C:\Excite\Clock\48s.jpg")
    FileInstall("49s.jpg", "C:\Excite\Clock\49s.jpg")
    FileInstall("50s.jpg", "C:\Excite\Clock\50s.jpg")
    FileInstall("51s.jpg", "C:\Excite\Clock\51s.jpg")
    FileInstall("52s.jpg", "C:\Excite\Clock\52s.jpg")
    FileInstall("53s.jpg", "C:\Excite\Clock\53s.jpg")
    FileInstall("54s.jpg", "C:\Excite\Clock\54s.jpg")
    FileInstall("55s.jpg", "C:\Excite\Clock\55s.jpg")
    FileInstall("56s.jpg", "C:\Excite\Clock\56s.jpg")
    FileInstall("57s.jpg", "C:\Excite\Clock\57s.jpg")
    FileInstall("58s.jpg", "C:\Excite\Clock\58s.jpg")
    FileInstall("59s.jpg", "C:\Excite\Clock\59s.jpg")
    FileInstall("BG1C.jpg", "C:\Excite\Clock\BG1C.jpg")

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    $Form1 = GUICreate("ExciteClock", 300, 120, -1, -1,$WS_POPUP)
    $Pic2 = GUICtrlCreatePic("C:\Excite\Clock\00.jpg", 30, 12, 90, 96, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $Pic3 = GUICtrlCreatePic("C:\Excite\Clock\00b.jpg", 180,12, 90, 96, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $Pic4 = GUICtrlCreatePic("C:\Excite\Clock\00s.jpg", 120,84, 60, 24, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $Pic1 = GUICtrlCreatePic("C:\Excite\Clock\BG1C.jpg", 0, 0, 300, 120, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlCreateLabel("",0,0,300,12,0,$GUI_WS_EX_PARENTDRAG)
    GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
    GUISetState(@SW_SHOW)

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    _UHR ()
    AdlibEnable("_UHR",1000)

    [/autoit] [autoit][/autoit] [autoit]

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit
    EndSwitch
    WEnd

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    Func _UHR ()
    GUICtrlSetImage($Pic2, "C:\Excite\Clock\" & @Hour & ".jpg")
    GUICtrlSetImage($Pic3, "C:\Excite\Clock\" & @MIN & "b.jpg")
    GUICtrlSetImage($Pic4, "C:\Excite\Clock\" & @SEC & "s.jpg")
    Endfunc

    [/autoit]

    P.s. würde die bilder gerne beifügen aber mein archiv hatt 1,6 mb nicht nur 1,02 wie hier erlaubt sind danke

  • Das ist sehr umständlich mit den Bildern.
    Ich würde es mit GDI+ machen. Über die SuFu. müsstest du eig. gute Beispiele finden.

    mfg BB

    "IF YOU'RE GOING TO KILL IT
    OPEN SOURCE IT!"

    by Phillip Torrone

    Zitat von Shoutbox

    [Heute, 11:16] Andy: ....böseböseböseböse....da erinnere ich mich daran, dass man den Puschelschwanz eines KaRnickels auch "Blume" nennt....ob da eins zum anderen passt? :rofl: :rofl: :rofl: :rofl:

    https://autoit.de/index.php?page…leIt#post251138

    Neon Snake

  • Bei mir funktioniert es, aber das könnte natürlich auch damit zusammenhängen, dass ich die Bilder nicht habe welche bei dir vielleicht das Verschieben verhindern. Funktioniert es bei dir wenn du alle Bilder in einen anderen Ordner verschiebst?

    • Offizieller Beitrag

    Warum dektivierst du die Pics nicht einfach.
    GUICtrlSetState($Pic,$GUI_DISABLED)

    • Offizieller Beitrag
    Zitat von Eistee

    hmmm,,,,,,, werden die da nicht grau ?


    Nein, die Farbe der Pics ändert sich nicht.

  • Ich würde dir empfehlen, keine Labels reinzumachen, sondern eher den Text mit Photoshop auf deinen Hintergrund zu schreiben und es dann die Hintergrund Ebene mit der Textebene zu multiplizieren.

    So könntest du auch noch Texteffekte rein machen etc. Sieht halt besser aus.