"LB_GETTEXT" can get a listbox item string, but how to set it? I can't find a message like "LB_SETTEXT" or "LB_SETITEMTEXT" in MSDN.
in vb, I can do it like this:
List1.List(0) = "I can modify it"
but in sdk, how ?
thanks!
afaik you have to lb_deletestring and lb_addstring.
Hello,
You have to make a choice between further items in the listbox.
LB_GETTEXT for the specified selection
LB_GETCURSEL to know the selected item
LB_SETSEL to select the index
First send LB_DELETESTRING, then LB_INSERTSTRING. No other option, sorry...