123456789101112131415161718192021222324252627282930 |
- #pragma once
- // CBaseComboBox
- class CBaseComboBox : public CComboBox
- {
- DECLARE_DYNAMIC(CBaseComboBox)
- public:
- CBaseComboBox();
- virtual ~CBaseComboBox();
- protected:
- DWORD m_dwStyle;
- CFont m_font;
- protected:
- DECLARE_MESSAGE_MAP()
- public:
- virtual BOOL Create(CWnd* pParentWnd, UINT nID, const RECT& rect);
- virtual void MeasureItem(LPMEASUREITEMSTRUCT lpdms);
- virtual void DrawItem(LPDRAWITEMSTRUCT lpdis);
- virtual void PreSubclassWindow();
- virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
- afx_msg void OnCbnSelchange();
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- };
|