Owner-Draw Combo + CBitmapButton on the same dialog
Hello!
I have an owner drawn combobox on a dialog managed via the function "void CMyDialogDlg::OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)" and everything works fine.
But when on the same dialog I place CBitmapButton, the button doesn't get drawn!
I think the subclassing of the bitmapbutton generates a conflict with the OnDrawItem, but I don't know how to workaround this problem!
Is someone enogh brave to help me?
++++++++[>++++++++<-]>+.<+++[>++++<-]>+.<++[>-----<-]>.<+++[>++++<-]>++.<+++[>----<-]>-.----.
God does not play dice with the universe.(A.Einstein)
Bookmarks