Fill listbox from the bottom??
Im doing a applikation to test hardware. The applikation reads textfiles and write some data to a listbox.
The problem is that the first data in the listbox is the last who was written and i want it to be the opposit can this be fixed??
Hmm i hope you understand what i mean!!!
Thank you!!
[316 byte] By [
Pjoter] at [2007-11-18 1:39:24]

# 1 Re: Fill listbox from the bottom??
hi,
you can use InsertString(index,string).
You can get the actual number of items by calling GetCount() and use the return value (the index +1) to insert the new string.
another possibility is to use AddString. This add a string to the end of the list if the list was not created with the LBS_SORT style.
Radu at 2007-11-10 8:54:06 >

# 2 Re: Fill listbox from the bottom??
Sorry for my stupid question,,, I fixed it!!!
Pjoter at 2007-11-10 8:55:04 >
