CComboBox
-
Hello every body I'm writting a GUI TOol Kit for MFC control, for every controls of MFC CButton,... I replace with CBMSButton... and i use the DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) function to draw. IT work fine with button,Titlebar, CheckBox, Radio But with CComboBoxEx i replace with CBMSComboBox and i call DrawItem but this function isn't called. I don't know why ? Please help me. Thank so much
-
Hello every body I'm writting a GUI TOol Kit for MFC control, for every controls of MFC CButton,... I replace with CBMSButton... and i use the DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) function to draw. IT work fine with button,Titlebar, CheckBox, Radio But with CComboBoxEx i replace with CBMSComboBox and i call DrawItem but this function isn't called. I don't know why ? Please help me. Thank so much
I have had to use the CBS_OWNERDRAWVARIABLE style instead of the CBS_OWNERDRAWFIXED style to get the DrawItem function to work. I do not know why CBS_OWNERDRAWFIXED did not work.
[
](http://www.canucks.com)"You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04 Within you lies the power for good - Use it!