OwnerDraw Combox
-
Hi with the combobox it seems that drawitem function is only called after I click the icon of drop down. My combobox displays with the first entry in the editbox (unformatted i.e. font and color). Is there any to have drawitem invoked before it displays as I would like to format the entry in the edit control Thanks
-
Hi with the combobox it seems that drawitem function is only called after I click the icon of drop down. My combobox displays with the first entry in the editbox (unformatted i.e. font and color). Is there any to have drawitem invoked before it displays as I would like to format the entry in the edit control Thanks
Perhaps your implementation/override of DrawItem is not complete? Have a look at some of the CP articles describing the ownerdraw comboboxe, like this one: [Group Combo Box](https://www.codeproject.com/Articles/489189/Group-Combo-Box#OwnerDrawnComboBoxes)