I'd like to change a combobox control to owner-draw at runtime. In the resource script the control is layed out as a standard control.

I've experimented with setting the style bits to CBS_OWNERDRAW | CBS_HASSTRINGS but somehow this does not help.

Does anybody know the trick?