I am trying to extend a combobox to allow Enabled / Disabled items. I have everything working, except the look of the the combobox changes when Drawmode is set to OwnerDrawVariable and DropDownStyle is set to DropDownList. Why, and is there a workaround?
I have tried the suggestion from this link...
Whilst this seems to fix the appearance of the combo, it breaks most of the event code, and the OnDrawItem event, whilst fired, always has an index of -1 in the DrawItemEventArgs.
I am using c#, visual studio 2010 and .net4 to create a Winforms application.
View Complete Post