I have a problem with my combobox. When there are two of the same names I want them to be diplayed only one time in the combobox. In SQL there is a function called distinct which does the job. How do I do the same in C++ ?
Printable View
I have a problem with my combobox. When there are two of the same names I want them to be diplayed only one time in the combobox. In SQL there is a function called distinct which does the job. How do I do the same in C++ ?
The combox box has no support for what you want. You'll have to filter the contents manually as you insert or add strings to the combobox.
I have found a sollution: I just use FindStringExact.