Gui/Form scrollen trotz Balken klappt nicht

  • Hallo,

    und wieder ein Problem was mich Nerven kostet!
    Kann mir jemand sagen warum die Gui oder Form
    nicht scrollt?

    Spoiler anzeigen
    [autoit]


    #include <ButtonConstants.au3>
    #include <ComboConstants.au3>
    #include <EditConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>
    #Region ### START Koda GUI section ### Form=
    $Form2 = GUICreate("Form1", 662, 200, 540, 136, BitOR($GUI_SS_DEFAULT_GUI,$WS_VSCROLL))
    $Auswahl = GUICtrlCreateCombo("Auswahl", 472, 44, 145, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
    GUICtrlSetData(-1, "Form1|Form2")
    $Button1 = GUICtrlCreateButton("Button1", 472, 80, 75, 25)
    $Input1 = GUICtrlCreateInput("Input1", 472, 244, 121, 21)
    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] [autoit][/autoit] [autoit][/autoit]

    komme da einfach nicht weiter


    Liebe Grüße
    Ilse ;)

  • Hallo Hauke96,

    ganz so einfach ist es dann doch nicht... ;)

    Hier nochmal die Form
    aber diesmal in der Höhe angepasst! (statt 200, 600)

    Spoiler anzeigen
    [autoit]


    #include <ButtonConstants.au3>
    #include <ComboConstants.au3>
    #include <EditConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>
    #Region ### START Koda GUI section ### Form=
    $Form2 = GUICreate("Form1", 662, 600, 540, 136, BitOR($GUI_SS_DEFAULT_GUI,$WS_VSCROLL)); 600 zeigt das inputfeld normal 200
    $Auswahl = GUICtrlCreateCombo("Auswahl", 472, 44, 145, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
    GUICtrlSetData(-1, "Form1|Form2")
    $Button1 = GUICtrlCreateButton("Button1", 472, 80, 75, 25)
    $Input1 = GUICtrlCreateInput("Input1", 472, 244, 121, 21)
    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 dann sieht man das Input-Feld!
    Ist die Form kleiner, dann müsste ich zu dem Input-Feld hinscrollen können!

    Liebe Grüße
    Ilse ;)