SBendBuckeye
Programmer
Hello all,
I have a form which does a lot of listbox filling based on arrays. To try and speed it up, I am using the SendMessage API to fill the various listboxes instead of using the AddItem method (eg lstbox.AddItem).
Everything is working fine except for one listbox which sometimes gets filled with a string that contains an embedded Tab or NewLine character. When that happens SendMessage fails. Is there anything I can do to change this or am I missing something obvious here? Thanks!
Have a great day!
j2consulting@yahoo.com
I have a form which does a lot of listbox filling based on arrays. To try and speed it up, I am using the SendMessage API to fill the various listboxes instead of using the AddItem method (eg lstbox.AddItem).
Everything is working fine except for one listbox which sometimes gets filled with a string that contains an embedded Tab or NewLine character. When that happens SendMessage fails. Is there anything I can do to change this or am I missing something obvious here? Thanks!
Have a great day!
j2consulting@yahoo.com