OutputWnd.h 952 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #pragma once
  2. /////////////////////////////////////////////////////////////////////////////
  3. // COutputList 窗口
  4. class COutputList : public CListBox
  5. {
  6. // 构造
  7. public:
  8. COutputList();
  9. // 实现
  10. public:
  11. virtual ~COutputList();
  12. protected:
  13. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  14. afx_msg void OnEditCopy();
  15. afx_msg void OnEditClear();
  16. afx_msg void OnViewOutput();
  17. DECLARE_MESSAGE_MAP()
  18. };
  19. class COutputWnd : public CDockablePane
  20. {
  21. // 构造
  22. public:
  23. COutputWnd();
  24. // 属性
  25. protected:
  26. CFont m_Font;
  27. CMFCTabCtrl m_wndTabs;
  28. COutputList m_wndOutputBuild;
  29. COutputList m_wndOutputDebug;
  30. COutputList m_wndOutputFind;
  31. protected:
  32. void FillBuildWindow();
  33. void FillDebugWindow();
  34. void FillFindWindow();
  35. void AdjustHorzScroll(CListBox& wndListBox);
  36. // 实现
  37. public:
  38. virtual ~COutputWnd();
  39. protected:
  40. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  41. afx_msg void OnSize(UINT nType, int cx, int cy);
  42. DECLARE_MESSAGE_MAP()
  43. };