Extracts the text from a standard list box.
cGetLBText( hwnd )
(i) hwnd ListBox handle from a cWndBy... function.
(s) Listbox contents in a tab delimited list.
This function is designed to extract the contents of a listbox, presumably so the contents may be examined to determine which item to set.
AddExtender("wwctl44i.dll",0,"wwctl64i.dll")
hwndParent = DllHwnd("Microsoft Control Spy -") hwnd = cWndbyclass(hwndParent, "ListBox") ; Get the listbox text Text = cGetLbText(hwnd) Message("Text", Text) Exit