tab_dlg_barView.h
上传用户:ledjyj
上传日期:2019-03-13
资源大小:36k
文件大小:1k
源码类别:

工具条

开发平台:

Visual C++

  1. // tab_dlg_barView.h : interface of the Ctab_dlg_barView class
  2. //
  3. #pragma once
  4. #include "PropSheetBar.h"
  5. class CPage1;
  6. class CPage2;
  7. class CPage3;
  8. class Ctab_dlg_barView : public CEditView
  9. {
  10. protected: // create from serialization only
  11. Ctab_dlg_barView();
  12. DECLARE_DYNCREATE(Ctab_dlg_barView)
  13. // Attributes
  14. public:
  15. Ctab_dlg_barDoc* GetDocument() const;
  16. // Operations
  17. public:
  18. // Overrides
  19. public:
  20. virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  21. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  22. protected:
  23. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  24. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  25. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  26. // Implementation
  27. protected:
  28. CPropSheetBar m_PropSheetBar;
  29. CPage1 *page1;
  30. CPage2 *page2;
  31. CPage3 *page3;
  32. public:
  33. virtual ~Ctab_dlg_barView();
  34. #ifdef _DEBUG
  35. virtual void AssertValid() const;
  36. virtual void Dump(CDumpContext& dc) const;
  37. #endif
  38. protected:
  39. // Generated message map functions
  40. protected:
  41. DECLARE_MESSAGE_MAP()
  42. public:
  43. // virtual void OnInitialUpdate();
  44. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  45. };
  46. #ifndef _DEBUG  // debug version in tab_dlg_barView.cpp
  47. inline Ctab_dlg_barDoc* Ctab_dlg_barView::GetDocument() const
  48.    { return reinterpret_cast<Ctab_dlg_barDoc*>(m_pDocument); }
  49. #endif