ok so say I have items 1-29 in my listbox. and I use sendmessage to send "1" using LB_SELECTSTRING
it will select 10 instead of 1.
does anyone know why it does that?
Also would it be possible to select the index instead?
I'm making a web IDE and stuff and I'm using the Listbox to keep track how how many lines are in a richtext box and what line you are currently on.
it works like its suppose to but if I go up to line one and there is 10 in the list box it will select 10 instead of one. and I checked it is send one to it not 10
*is really confused*

