Custom ComboBox in DialogBar
Posted on 1999-07-14
I've created a DialogBar that I would like to emulate the font drop-down list as in MS Word. I have obtained a class from CodeGuru, named CustComboBox by Girish Bharadwaj.
I have subclassed the CDialogBar to CFontDlgBar, where I have added the member variables for the combo boxes, one of which is the CustComboBox.
The problem is that while the contructor for the CustComboBox is getting called correctly, nothing else is. OnCreate is not getting called, and the overridden DrawItem, etc are not getting called.
Does anyone have any idea of what I'm doing wrong or missing, I'm lost.