01-03-2006, 02:24 AM
I am having a difficult time getting strings from list boxes where the style is not SysListView32 but ListBox instead
List Boxes
|
01-03-2006, 02:24 AM
I am having a difficult time getting strings from list boxes where the style is not SysListView32 but ListBox instead
01-03-2006, 08:32 AM
Can be used LB_GetItemText or accessible object functions. What code you use?
01-07-2006, 11:55 AM
Ok, I was able to use LB_SelectedItem, works great.
Next question, how do I find a specific item in the list box? :lol: For example, if the listbox contains: Apples Oranges Grapes How do I make it select "Oranges"
01-07-2006, 12:02 PM
Type
.LB in a new line, and you will see available listbox functions. In this case, use LB_FindItem if you only want to get item index, or LB_SelectString to select.
01-07-2006, 12:12 PM
LB_SelectString(hlb "Oranges")
Did not select Oranges Selected the first item in the lisbox |
« Next Oldest | Next Newest »
|