I have a question if is there a possibility to owner CComboBox edit window(top most window of CComboBox/edit window inside a ComboBox) Because i have made that a CComboBox is OWNERDRAW and I can draw on items( via DrawItem() method) I also would like to draw on edit item( top most item of CComboBox control) The problem is that it is edit window and i can type on it( I can't draw on it). How can i make this window 'drawable'? any suggestions? thanks
Asked
Active
Viewed 366 times
0
1 Answers
1
Use GetComboBoxInfo
to get the hwndItem
(window handle to edit field). Then you simply subclass that one to do what you want :)

0xC0000022L
- 20,597
- 9
- 86
- 152