16,548
社区成员




class COutputList : public CListBox
{
// 构造
public:
COutputList();
// 实现
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
{
// 构造
public:
COutputWnd();
// 属性
protected:
CFont m_Font;
CMFCTabCtrl m_wndTabs;
COutputList m_wndOutputBuild;
COutputList m_wndOutputDebug;
COutputList m_wndOutputFind;
protected:
void FillBuildWindow();
void FillDebugWindow();
void FillFindWindow();
void AdjustHorzScroll(CListBox& wndListBox);
// 实现
public:
virtual ~COutputWnd();
protected:
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
DECLARE_MESSAGE_MAP()
};
void COutputWnd::FillDebugWindow()
{
m_wndOutputDebug.AddString(_T("调试输出正显示在此处。"));
m_wndOutputDebug.AddString(_T("输出正显示在列表视图的行中"));
m_wndOutputDebug.AddString(_T("但您可以根据需要更改其显示方式..."));
}