OutputWnd.h 991 B

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