AutoCompletionComboBox.h
资源名称:ComboBox.rar [点击查看]
上传用户:hbjdyb2005
上传日期:2021-01-26
资源大小:168k
文件大小:1k
源码类别:
组合框控件
开发平台:
Visual C++
- #if !defined(AFX_AUTOCOMPLETIONCOMBOBOX_H__A2F5170E_7F18_11D2_9B7D_006097F7F4CE__INCLUDED_)
- #define AFX_AUTOCOMPLETIONCOMBOBOX_H__A2F5170E_7F18_11D2_9B7D_006097F7F4CE__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // AutoCompletionComboBox.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CAutoCompletionComboBox window
- class CAutoCompletionComboBox : public CComboBox
- {
- // Construction
- public:
- CAutoCompletionComboBox();
- protected:
- virtual void HandleCompletion();
- virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
- private:
- CEdit* m_pEdit;
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CAutoCompletionComboBox)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CAutoCompletionComboBox();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CAutoCompletionComboBox)
- // NOTE - the ClassWizard will add and remove member functions here.
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_AUTOCOMPLETIONCOMBOBOX_H__A2F5170E_7F18_11D2_9B7D_006097F7F4CE__INCLUDED_)