I'am using a subclassed CEdit in a CComboBox and have a CEdit derived class for that. For the edit control I want to set the ES_NOHIDESEL style.
Unfortunately PreCreateWindow() or OnCreate() are never called by a subclassed control and so I don't know, how to set the style. ModifyStyle() doesn't work with ES_NOHIDSEL.
I also would agree to another solution than subclassing for using an own edit control in a combobox.
Thanx for your help.