Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $List1 = GUICtrlCreateList("", 455, 21, 265, 188, BitOR($GUI_SS_DEFAULT_LIST,$LBS_DISABLENOSCROLL))
- Func AddString($String)
- ; Add strings
- _GUICtrlListBox_BeginUpdate($List1)
- _GUICtrlListBox_AddString($List1,$stt & ". "& _NowTime(5) & ":"& $String)
- _GUICtrlListBox_UpdateHScroll($List1)
- _GUICtrlListBox_EndUpdate($List1)
- _AutoScroll()
- $stt +=1
- EndFunc ;==>AddString
- Func _AutoScroll()
- _GUICtrlListBox_SetAnchorIndex($List1 , _GUICtrlListBox_GetListBoxInfo($List1)-1)
- EndFunc ;==>_AutoScroll
Advertisement
Add Comment
Please, Sign In to add comment