Hallo ,
kann mir jemand sagen wie ich die ListView dazu bekomme mir eine vertikale Scrollbar einzublenden wenn der Platz im fenster nicht mehr reicht.
Hier mein Beispiel Script:
C
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <GuiListView.au3>
$hGUI = GUICreate("listview items", 220, 250, 100, 250, -1, $WS_EX_ACCEPTFILES)
$idListview = GUICtrlCreateListView("", 10, 10, 160, 150, $LVS_SMALLICON)
GUICtrlCreateListViewItem ("2222222222 1234567890", $idListview)
GUICtrlCreateListViewItem ("2222222222 1234567890", $idListview)
GUICtrlCreateListViewItem ("2222222222 1234567890", $idListview)
GUICtrlCreateListViewItem ("2222222222 1234567890", $idListview)
GUICtrlCreateListViewItem ("2222222222 1234567890", $idListview)
GUICtrlCreateListViewItem ("2222222222 1234567890", $idListview)
GUICtrlCreateListViewItem ("2222222222 1234567890", $idListview)
GUICtrlCreateListViewItem ("2222222222 1234567890", $idListview)
GUICtrlCreateListViewItem ("2222222222 1234567890", $idListview)
GUISetState(@SW_SHOW,$hGUI)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Alles anzeigen
Gruß
Markus