Board index » Visual Studio » Customdraw Combobox CompareItem
|
Jarkko
|
Customdraw Combobox CompareItem
Visual Studio11
Hi I have a customdrawn CComboBox derivated class and want to program my own sort algorithm. I overwrite the ComparItem function. The contents of the combobox will be sorted but not with my CompareItem function but with the original sort algorithm. My CompareItem function will never be called. I tried to handle the WM_COMPAREITEM message but i never received one. What do I have to do to implement my own CompareItem function ? Or does anyone know a demo program which use a CompareItem function for CComboboxes ? Best regards Joerg Tiedemann - |
