InputComboBox.h
资源名称:ictprop.rar [点击查看]
上传用户:tenhai
上传日期:2021-02-19
资源大小:492k
文件大小:1k
源码类别:
组合框控件
开发平台:
Visual C++
- #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();
- void UpdateInput();
- void InvokeAction();
- 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_)