Kleines prob mit der darstellung von .gifs in ner GUI

  • Ich hab das Problem das in der folgenden GUI fon den 5 Gifs nur die file exit.gif angezeigt wird, die anderen 4 gifs lässt er einfach weg !?!?! :(

    Spoiler anzeigen
    [autoit]


    #include <ButtonConstants.au3>
    #include <EditConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <StaticConstants.au3>
    #include <WindowsConstants.au3>

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

    GUICreate("Form1", 539, 469, 193, 117)
    GUISetBkColor(0xFFFFFF)
    GUICtrlCreateGroup("MsgBox Ausgabe", 8, 8, 521, 97)
    $titel = GUICtrlCreateInput("", 264, 32, 249, 21)
    $text = GUICtrlCreateInput("", 80, 32, 129, 21)
    $go = GUICtrlCreateButton("Abschicken", 400, 72, 113, 25, 0)
    GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
    GUICtrlCreateLabel("Titel:", 32, 32, 39, 20)
    GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
    GUICtrlCreateLabel("Text:", 216, 32, 38, 20)
    GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
    $radio1 = GUICtrlCreateRadio("fehler", 32, 72, 17, 17)
    $radio2 = GUICtrlCreateRadio("info", 104, 72, 17, 17)
    $pic2 = GUICtrlCreatePic("stop.gif", 56, 64, 32, 32, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $pic3 = GUICtrlCreatePic("info.gif", 128, 64, 32, 32, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $pic4 = GUICtrlCreatePic("question-mark.gif", 272, 64, 32, 32, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $pic5 = GUICtrlCreatePic("exclamation_point.gif", 200, 64, 32, 32, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    $radio3 = GUICtrlCreateRadio("achtung", 176, 72, 17, 17)
    $radio4 = GUICtrlCreateRadio("frage", 248, 72, 17, 17)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    $pic1 = GUICtrlCreatePic("exit.gif", 464, 392, 64, 64, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
    GUICtrlCreateGroup("Screenshot", 8, 120, 521, 65)
    $she = GUICtrlCreateButton("Screenshot erzeugen", 40, 144, 210, 25, 0)
    GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
    $sha = GUICtrlCreateButton("Screenshot anzeigen", 288, 144, 210, 25, 0)
    GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    GUICtrlCreateGroup("Group3", 8, 200, 521, 81)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    GUICtrlCreateGroup("Group4", 8, 296, 521, 81)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    GUICtrlCreateGroup("Group5", 8, 392, 441, 65)
    GUICtrlCreateGroup("", -99, -99, 1, 1)
    GUISetState(@SW_SHOW)

    [/autoit]
  • Es scheint ganz so als ob ausserhalb der erstellten group alle bilder perfeckt angezeigt werden.
    Nur in einer group zeigt er die bilder nicht an, was aber laut autoit hilfe nicht sein drüfte dafür gibts laut der extra den style $WS_GROUP. :thumbdown:

    EDIT: falls es wen intressiert der fehler hier war, das man wenn man Bilder in groups anzeigen möchte dürfen beim pic keine styles parameter folgen obwohl laut info diese nötig sein sollen. Entfernt man alle Parameter läuft alles 1a.

    Einmal editiert, zuletzt von h00k (22. Juli 2008 um 00:05)