You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// COutputList <20><><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
class COutputList : public CListBox
|
|
|
|
|
{
|
|
|
|
|
// <20><><EFBFBD><EFBFBD>
|
|
|
|
|
public:
|
|
|
|
|
COutputList();
|
|
|
|
|
|
|
|
|
|
// ʵ<><CAB5>
|
|
|
|
|
public:
|
|
|
|
|
virtual ~COutputList();
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
|
|
|
|
|
afx_msg void OnEditCopy();
|
|
|
|
|
afx_msg void OnEditClear();
|
|
|
|
|
afx_msg void OnViewOutput();
|
|
|
|
|
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class COutputWnd : public CDockablePane
|
|
|
|
|
{
|
|
|
|
|
// <20><><EFBFBD><EFBFBD>
|
|
|
|
|
public:
|
|
|
|
|
COutputWnd();
|
|
|
|
|
void UpdateFonts();
|
|
|
|
|
void AddToList(CString str,int MaxLine);
|
|
|
|
|
// <20><><EFBFBD><EFBFBD>
|
|
|
|
|
protected:
|
|
|
|
|
CMFCTabCtrl m_wndTabs;
|
|
|
|
|
COutputList m_List;
|
|
|
|
|
int m_CurLineCnt;//<2F><>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD>
|
|
|
|
|
protected:
|
|
|
|
|
void AdjustHorzScroll(CListBox& wndListBox);
|
|
|
|
|
|
|
|
|
|
// ʵ<><CAB5>
|
|
|
|
|
public:
|
|
|
|
|
virtual ~COutputWnd();
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
|
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
};
|
|
|
|
|
|