I have created an ActiveX control using the MFC ActiveX Control Wizard, and have added controls dynamically. I have no problems with CButton, CEdit, etc, but CComboBoxes flicker when their text is edited. For some reason the Active Control is being sent paint messages continually.
I create a ComboBox like so:
m_ComboBox.Create(WS_CHILD | WS_VISIBLE | WS_BORDER | CBS_DROPDOWN | CBS_HASSTRINGS, m_Rect_ComboBox, this, IDC_COMBOBOX);
In OnDraw(), I move it like so: