inputcombobox.h

来自「中科院开源的ictprop源码,使用方法: 1、修改源码中的InputComb」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_INPUTCOMBOBOX_H__C0D713EF_3BB7_4EAD_A2A7_B2AD56814362__INCLUDED_)
#define AFX_INPUTCOMBOBOX_H__C0D713EF_3BB7_4EAD_A2A7_B2AD56814362__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InputComboBox.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CInputComboBox window

class CInputComboBox : public CComboBox
{
// Construction
public:
	CInputComboBox();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CInputComboBox)

	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);

	//}}AFX_VIRTUAL

// Implementation
public:
	int AddUniqueString(CString str);
	void OnCmd(int type);
	void UpdateInput();
	void InvokeAction(int type);
	CString m_strInput;
	virtual ~CInputComboBox();

	// Generated message map functions
protected:
	//{{AFX_MSG(CInputComboBox)
	afx_msg void OnSelchange();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_INPUTCOMBOBOX_H__C0D713EF_3BB7_4EAD_A2A7_B2AD56814362__INCLUDED_)

⌨️ 快捷键说明

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