|
Hai,
I have a class CFlatCombo which is derived from CComboBoxEx and it is used for placing the control at the desired position in the ToolBar. I am using your CXTPControlComboBox as a base class for my class, but errors. Is there is any other way to implement. Please suggest.
After making your CXTPControlComboBox as a Base class I got some errors like this.
Error list:
error C2039: 'SendMessageA' : is not a member of 'CFlatCombo' error C2039: 'SendMessageA' : is not a member of 'CFlatCombo' error C2440: 'static_cast' : cannot convert from 'void (__thiscall CFlatCombo::* )(UINT,CPoint)' to 'void (__thiscall CWnd::* )(UINT,CPoint)' error C2440: 'static_cast' : cannot convert from 'void (__thiscall CFlatCombo::* )(UINT,CPoint)' to 'void (__thiscall CWnd::* )(UINT,CPoint)' error C2440: 'static_cast' : cannot convert from 'void (__thiscall CFlatCombo::* )(UINT,CPoint)' to 'void (__thiscall CWnd::* )(UINT,CPoint)' error C2440: 'static_cast' : cannot convert from 'BOOL (__thiscall CFlatCombo::* )(UINT,short,CPoint)' to 'BOOL (__thiscall CWnd::* )(UINT,short,CPoint)' error C2440: 'static_cast' : cannot convert from 'int (__thiscall CFlatCombo::* )(LPCREATESTRUCT)' to 'int (__thiscall CWnd::* )(LPCREATESTRUCT)' error C2440: 'static_cast' : cannot convert from 'void (__thiscall CFlatCombo::* )(UINT,int,int)' to 'void (__thiscall CWnd::* )(UINT,int,int)' error C2440: 'static_cast' : cannot convert from 'void (__thiscall CFlatCombo::* )(UINT,CPoint)' to 'void (__thiscall CWnd::* )(UINT,CPoint)' error C2440: 'static_cast' : cannot convert from 'void (__thiscall CFlatCombo::* )(CWnd *)' to 'void (__thiscall CWnd::* )(CWnd *)' error C2039: 'OnPaint' : is not a member of 'CFlatCombo' error C2065: 'OnPaint' : undeclared identifier error C2039: 'OnCreate' : is not a member of 'CXTPControlComboBox' error C3861: 'GetSafeHwnd': identifier not found error C3861: 'GetComboBoxCtrl': identifier not found error C2065: 'm_hWnd' : undeclared identifier error C3861: 'EnableToolTips': identifier not found error C2660: 'CXTPControlPopup::OnMouseMove' : function does not take 2 arguments error C2039: 'OnMouseWheel' : is not a member of 'CXTPControlComboBox' error C2660: 'IsWindowEnabled' : function does not take 0 arguments error C2660: 'IsWindowEnabled' : function does not take 0 arguments error C2039: 'OnSize' : is not a member of 'CXTPControlComboBox' error C2660: 'GetWindowRect' : function does not take 1 arguments error C2664: 'CXTPControl::ScreenToClient' : cannot convert parameter 1 from 'CRect *' to 'CPoint *' error C2039: 'OnNcLButtonDown' : is not a member of 'CXTPControlComboBox' error C3861: 'GetItem': identifier not found error C2664: 'CClientDC::CClientDC(CWnd *)' : cannot convert parameter 1 from 'CFlatCombo *const ' to 'CWnd *' error C3861: 'GetFont': identifier not found error C2660: 'GetClientRect' : function does not take 1 arguments error C3861: 'GetImageList': identifier not found error C3861: 'GetSafeHwnd': identifier not found error C2039: 'OnToolHitTest' : is not a member of 'CXTPControlComboBox' error C2039: 'GetItem' : is not a member of 'CFlatCombo' error C2039: 'GetItem' : is not a member of 'CFlatCombo' error C3861: 'InsertItem': identifier not found error C3861: 'InsertItem': identifier not found error C2039: 'GetItem' : is not a member of 'CFlatCombo'
|