📄 messageedit.h
字号:
// MessageEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMessageEdit window
class CMessageEdit : public CEdit
{
// Construction
public:
CMessageEdit();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMessageEdit)
//}}AFX_VIRTUAL
// Implementation
public:
void EditPrintf(char *szFormat, ...);
void AddText(const CString &text);
void AddText(const char *text);
void ClearText();
void SubclassDlgItem(UINT nID, CWnd* pParent,int MaxLine=300);
virtual ~CMessageEdit();
// Generated message map functions
protected:
//{{AFX_MSG(CMessageEdit)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_MaxLineCount;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -