according to the MSDN i can use that function to insert a list box item into a specific spot, For me it returns an error if I make it anything other than -1 or a greater than the lowest item already there.
Ive tried useing the ResetContent(), InitStorage(), and SetTopIndex().
None of it helped cause the items are not being entered in the first place, it returns the LB_ERR code, but i could find nothing to say what could cause the LB_ERR code to be returned.
I want to have a bunch of items in the list (several hundred) but there will be some skipped numbers, one set of items start with 500 index. I cant be changeing them all the time cause of backward compatability reasons.
I could just string all the indices togather, but that would make me go back and redo alot of old stuff, and new things could just be added to the end of the list.
I have a few other ideas, all are more complicated than just figureing out why the items arent going in to begin with. Specs show that with an average length of 30 bytes i can store 2176 different strings, so thats not the problem.