Click to See Complete Forum and Search --> : CComboboxEx


Lvanmullem
April 14th, 1999, 04:01 AM
I would like to make a combobox with icons and text in it.
Can somebody help me with this,
I can't insert items in the comboboxEx.
Does somebody now how to do this.
It would be a big help to me.

silver
April 14th, 1999, 05:27 AM
I have made a listbox like that but not sure whether it's right for combobox.
In listbox, you can do it like below:
1) make sure it has both ownerdraw and has string property
2) use addstring to add your text
3) use setitemdata to add your icon index
4) override drawitem function, just as other ownerdraw control would do.