提交 | 用户 | age
|
0ed438
|
1 |
|
Q |
2 |
#pragma once
|
|
3 |
|
|
4 |
/////////////////////////////////////////////////////////////////////////////
|
|
5 |
// COutputList 窗口
|
|
6 |
|
|
7 |
class COutputList : public CListBox
|
|
8 |
{
|
|
9 |
// 构造
|
|
10 |
public:
|
|
11 |
COutputList() noexcept;
|
|
12 |
|
|
13 |
// 实现
|
|
14 |
public:
|
|
15 |
virtual ~COutputList();
|
|
16 |
|
|
17 |
protected:
|
|
18 |
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
|
|
19 |
afx_msg void OnEditCopy();
|
|
20 |
afx_msg void OnEditClear();
|
|
21 |
afx_msg void OnViewOutput();
|
|
22 |
|
|
23 |
DECLARE_MESSAGE_MAP()
|
|
24 |
};
|
|
25 |
|
|
26 |
class COutputWnd : public CDockablePane
|
|
27 |
{
|
|
28 |
// 构造
|
|
29 |
public:
|
|
30 |
COutputWnd() noexcept;
|
|
31 |
|
|
32 |
void UpdateFonts();
|
|
33 |
|
|
34 |
// 特性
|
|
35 |
protected:
|
|
36 |
CMFCTabCtrl m_wndTabs;
|
|
37 |
|
|
38 |
COutputList m_wndOutputBuild;
|
|
39 |
COutputList m_wndOutputDebug;
|
|
40 |
COutputList m_wndOutputFind;
|
|
41 |
|
|
42 |
protected:
|
|
43 |
void FillBuildWindow();
|
|
44 |
void FillDebugWindow();
|
|
45 |
void FillFindWindow();
|
|
46 |
|
|
47 |
void AdjustHorzScroll(CListBox& wndListBox);
|
|
48 |
|
|
49 |
// 实现
|
|
50 |
public:
|
|
51 |
virtual ~COutputWnd();
|
|
52 |
|
|
53 |
protected:
|
|
54 |
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
55 |
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
56 |
|
|
57 |
DECLARE_MESSAGE_MAP()
|
|
58 |
};
|
|
59 |
|