📄 mycombobox.h
字号:
#if !defined(AFX_MYCOMBOBOX_H__AA4DEDE6_CED8_11D6_B1D2_E6746848EC25__INCLUDED_)
#define AFX_MYCOMBOBOX_H__AA4DEDE6_CED8_11D6_B1D2_E6746848EC25__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyComboBox.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMyComboBox window
class CMyComboBox : public CComboBox
{
// Construction
public:
CMyComboBox(int iItem, int iSubItem, CString sInitText);
CMyComboBox();
// Attributes
public:
int m_iItem;
int m_iSubItem;
CString m_sInitText;
BOOL m_bESC;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyComboBox)
//}}AFX_VIRTUAL
// Implementation
public:
void SetParaNum(int iItem, int iSubItem, CString sInitText);
virtual ~CMyComboBox();
// Generated message map functions
protected:
//{{AFX_MSG(CMyComboBox)
afx_msg void OnKillFocus(CWnd* pNewWnd);
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnNcDestroy();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSettingChange(UINT uFlags, LPCTSTR lpszSection);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYCOMBOBOX_H__AA4DEDE6_CED8_11D6_B1D2_E6746848EC25__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -