autocompletioncombobox.h

来自「实现具有自动完成功能的组合框」· C头文件 代码 · 共 56 行

H
56
字号
#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_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?