Hallo zusammen.
Ich versuche gerade, eine GUI zu bauen, deren Inhalt deutlich größer als die GUI selber ist.
Also soll sie scrollbar sein. Ich hab da mal schnell was zusammen gebastelt, aber es will nicht so, wie ich es will...
Der V-Scrollbalken ist zwar da, will aber die GUI nicht bewegen.
Wie bekomme ich das hin. Hier mein Beispiel-Code:
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Die GUI", 600, 600, 200, 200, BitOR($GUI_SS_DEFAULT_GUI, $WS_VSCROLL))
$Edit1 = GUICtrlCreateEdit("", 20, 30, 530, 500)
GUICtrlSetData(-1, "Das ist das erste Edit-Fenster")
$Edit2 = GUICtrlCreateEdit("", 20, 540, 530, 500)
GUICtrlSetData(-1, "Das ist das zweite Edit-Fenster")
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Gruß,
Matthias