BaldrickThe4th
Newcomer
- Joined
- Feb 16, 2004
- Messages
- 22
Hi there
I guess I'm trying to be too clever, but I wonder if someone can shed some light on what is happening.
I'm loading a combobox with a number of thousands of items. To speed the process up I've tried to use:
SendMessage(ComboBox1.Handle, CB_ADDSTRING, -1, "Some Text")
However things don't appear well. The list gets populated, but when clicking on an item in the list I get a subscript error. The dropdown box also only appears to be one line rather than 8.
I can go back to useing the combobox.add method, but I'm curious as to what is going on. Any thoughts anyone.
Thanks.
I guess I'm trying to be too clever, but I wonder if someone can shed some light on what is happening.
I'm loading a combobox with a number of thousands of items. To speed the process up I've tried to use:
SendMessage(ComboBox1.Handle, CB_ADDSTRING, -1, "Some Text")
However things don't appear well. The list gets populated, but when clicking on an item in the list I get a subscript error. The dropdown box also only appears to be one line rather than 8.
I can go back to useing the combobox.add method, but I'm curious as to what is going on. Any thoughts anyone.
Thanks.