📄 outputwindow.h
字号:
#if !defined(AFX_OUTPUTWINDOW_H__616F2C45_9817_4059_85FE_6255883E6B98__INCLUDED_)
#define AFX_OUTPUTWINDOW_H__616F2C45_9817_4059_85FE_6255883E6B98__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OutputWindow.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// COutputWindow frame
class COutputWindow : public CMDIChildWnd
{
DECLARE_DYNCREATE(COutputWindow)
public:
COutputWindow(); // protected constructor used by dynamic creation
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COutputWindow)
public:
//}}AFX_VIRTUAL
// Implementation
public:
void FlushShow();//flush the output window show
void ResetContent();//reset the show content
void ShowState(CString strState);//uses to show the state
virtual ~COutputWindow();
// Generated message map functions
//{{AFX_MSG(COutputWindow)
afx_msg void OnClose();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_nContentNum;//record the contents number
int m_scrollRange;
CString m_strContent[1024];//used to hold the show content ,max save:200 lines
int m_nFirstVisualPos;//the position of the first virsual line ,should <200
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OUTPUTWINDOW_H__616F2C45_9817_4059_85FE_6255883E6B98__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -