Pic zeigt BMP nicht an, voll bekloppt, nur die eine Farbe nicht!

  • Hi leute, das ist voll bekloppt, ich habe ein BMP gemacht, und er zeigt mir die Eine Farbe nicht an! Ich hab alles ausprobiert, aber er zeigt diese Farbe patu nicht an! Das hab ich noch nie erllebet, er zeigt alles an was im bild ist auser diese Farbe!

    Hier mal das Script:

    Spoiler anzeigen
    [autoit]

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

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

    #Region ### START Koda GUI section ### Form=C:\Dokumente und Einstellungen\Hendrik\Favoriten\Eigene Dateien\AutoIt\Übungen\XSkin\Oberfläche\XSkin.kxf
    $Form2 = GUICreate("Meine erste XSkin-Gui", 749, 680, 303, 219)
    $Pic1 = GUICtrlCreatePic(@ScriptDir & "\1.bmp", 177, 180, 357, 310, $WS_CLIPSIBLINGS)
    $Label1 = GUICtrlCreateLabel("Label1", 0, 0, 36, 17)
    $Icon1 = GUICtrlCreateIcon("", 0, 489, 3, 32, 32, BitOR($SS_NOTIFY,$WS_GROUP))
    $Icon2 = GUICtrlCreateIcon("", 0, 519, 3, 32, 32, $SS_NOTIFY)
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###

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

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

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

    EndSwitch
    WEnd

    [/autoit]


    Und natürlich das bild im anhang ich hab auch mal ein bild beigemacht wie es bei mir aussieht!

    mfg. Jam00

    Einmal editiert, zuletzt von Jam00 (3. Februar 2009 um 21:44)

  • 1. überleg dir mal nen anderen titel :D
    2. :

    [autoit]


    $Pic1 = GUICtrlCreatePic(@ScriptDir & "\1.bmp", 177, 180, 357, 310, $WS_CLIPSIBLINGS)

    [/autoit]


    das ist definitiv zu klein^^
    schau dir doch mal die maße des bildes an oO

    Padmak

  • Spoiler anzeigen
    [autoit]

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

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

    #Region ### START Koda GUI section ### Form=C:\Dokumente und Einstellungen\Hendrik\Favoriten\Eigene Dateien\AutoIt\Übungen\XSkin\Oberfläche\XSkin.kxf
    $Form2 = GUICreate("Meine erste XSkin-Gui", 749, 680, 303, 219)
    $Pic1 = GUICtrlCreatePic(@ScriptDir & "\Data\1.bmp", 177, 555, 532, 310, $WS_CLIPSIBLINGS)
    $Label1 = GUICtrlCreateLabel("Label1", 0, 0, 36, 17)
    $Icon1 = GUICtrlCreateIcon("", 0, 489, 3, 32, 32, BitOR($SS_NOTIFY,$WS_GROUP))
    $Icon2 = GUICtrlCreateIcon("", 0, 519, 3, 32, 32, $SS_NOTIFY)
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###

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

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

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

    EndSwitch
    WEnd

    [/autoit]

    Is egal, zeigt er nicht an, und ich hab rausgefunden, geal welche farbe ich nehme, die immer gleich ist es wird nich angezeigt, i9ch probier mal gerad eine anderes bildbearbeitungsprogramm!

    EDIT: Okay, es lang am programm :cursing: :cursing:

    mfg. Jam00

  • Hi Jam00,

    so vielleicht ?

    Spoiler anzeigen
    [autoit]


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

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

    #Region ### START Koda GUI section ###
    $Form2 = GUICreate("Meine erste XSkin-Gui", 749, 680, 303, 219)
    $Pic1 = GUICtrlCreatePic(@ScriptDir & "\1.bmp", 0, 0, 749, 680)
    GUICtrlSetState(-1, $GUI_DISABLE)
    $Label1 = GUICtrlCreateLabel("Label1", 0, 0, 36, 17)
    $Icon1 = GUICtrlCreateIcon("", 0, 489, 3, 32, 32, BitOR($SS_NOTIFY, $WS_GROUP))
    $Icon2 = GUICtrlCreateIcon("", 0, 519, 3, 32, 32, $SS_NOTIFY)

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

    GUISetState()
    #EndRegion ### END Koda GUI section ###

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

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

    [/autoit]


    Viel Erfolg ! :)