Here is the situation. I need to load a list of text into a listbox. I have a text file that has the list in this format:
item1
item2
item3
I than open this text file and load everything into a character array. Now I need to put these items into a listbox. However when I do that, it puts all items as if it were one, so the list box has one line that goes:
item1item2item3
I need to somehow create different character arrays on the fly so that I can store one item in each array so that when I go to add them to the list box, it adds them seperatly. I'm using LB_ADDSTRING
Hope that makes some sense.
Thanks.