#include <GUIConstantsEx.au3>
#Include <GuiListBox.au3>
#include <ListviewConstants.au3>
#include <WindowsConstants.au3>

;----------------------------------------------------------------------------------------------------

Global $GUI_01_Button_01

;----------------------------------------------------------------------------------------------------

$GUI_01 = GUICreate ("Telefonnummern", 500, 1000, -1, -1, 0x80000000)
$GUI_01_List_01 = GUICtrlCreateListView  ("Nachname|Vorname|Telefonnummer|Geburtstag", 5, 5, 490, 965)
GUICtrlCreateListViewItem (" |  |  | ", $GUI_01_List_01)
$GUI_01_Button_01 = GUICtrlCreateButton ("Exit", 5, 970, 490, 20)
_GUICtrlListBox_Sort ($GUI_01_List_01)
GUISetState (@SW_SHOW, $GUI_01)
Sleep (500)

;----------------------------------------------------------------------------------------------------



;----------------------------------------------------------------------------------------------------

While True
	Switch GUIGetMsg ()
		Case $GUI_01_Button_01
			Exit
	EndSwitch
WEnd

;----------------------------------------------------------------------------------------------------

