Some functions for AHK ListBoxes.
Add()
Adds a string to a list box.CalcIdealWidth()
Calculates the ideal width of a list box needed to display the current content.Delete()
Deletes an item (row) in a list box.DeleteAll()
Removes all items from a list box.Find()
Finds the first string in a list box that begins with the specified string.FindExact()
Finds the first list box string that exactly matches the specified string.GetCount()
Gets the number of items in a list box.GetCurrentSel()
Gets the index of the currently selected item, if any, in a single-selection list box.GetData()
Gets the application-defined value associated with the specified list box item.GetFocus()
Retrieves the index of the item that has the focus in a multiple-selection list box.GetItemHeight()
Gets the height of items in a list box.GetSelCount()
Gets the total number of selected items in a multiple-selection list box.GetSelItems()
Retrieves an array of selected items in a multiple-selection list box.GetSelStart()
Gets the index of the anchor item from which a multiple selection starts.GetSelState()
Gets the selection state of an item.GetText()
Gets a string from a list box.GetTextLen()
Gets the length of a string in a list box.GetTopIndex()
Gets the index of the first visible item in a list box.Insert()
Inserts a string into a list box.ItemFromPoint()
Gets the index of the item nearest the specified point in a list box.SelectRange()
Selects or deselects one or more consecutive items in a multiple-selection list box.SelectString()
Searches a list box for an item that begins with the characters in a specified string.SetColumnTabs()
Sets the tab stop positions according to the columns of a list box.SetCurSel()
Selects an item and scrolls it into view, if necessary.SetFocus()
Sets the focus rectangle to the specified item in a multiple-selection list box.SetItemData()
Sets a value associated with the specified item in a list box.SetItemHeight()
Sets the height, in pixels, of items in a list box.SetSel()
Selects an item in a multiple-selection list box and scrolls the item into view, if necessary.SetSelStart()
Sets the anchor item, that is, the item from which a multiple selection starts.SetTabStops()
Sets the tab-stop positions in a list box.SetTopIndex()
Ensures that the specified item in a list box is visible.