DialogbarDemoView.h
上传用户:lxjxxg
上传日期:2007-01-02
资源大小:42k
文件大小:2k
源码类别:

工具条

开发平台:

Visual C++

  1. // DialogbarDemoView.h : interface of the CDialogbarDemoView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_DIALOGBARDEMOVIEW_H__D614B24E_C5EC_11D2_B8C5_B41E04C10000__INCLUDED_)
  5. #define AFX_DIALOGBARDEMOVIEW_H__D614B24E_C5EC_11D2_B8C5_B41E04C10000__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. class CDialogbarDemoView : public CView
  10. {
  11. protected: // create from serialization only
  12. CDialogbarDemoView();
  13. DECLARE_DYNCREATE(CDialogbarDemoView)
  14. // Attributes
  15. public:
  16. CDialogbarDemoDoc* GetDocument();
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CDialogbarDemoView)
  22. public:
  23. virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. protected:
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. public:
  29. virtual ~CDialogbarDemoView();
  30. #ifdef _DEBUG
  31. virtual void AssertValid() const;
  32. virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34. protected:
  35. // Generated message map functions
  36. protected:
  37. //{{AFX_MSG(CDialogbarDemoView)
  38. // NOTE - the ClassWizard will add and remove member functions here.
  39. //    DO NOT EDIT what you see in these blocks of generated code !
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. #ifndef _DEBUG  // debug version in DialogbarDemoView.cpp
  44. inline CDialogbarDemoDoc* CDialogbarDemoView::GetDocument()
  45.    { return (CDialogbarDemoDoc*)m_pDocument; }
  46. #endif
  47. /////////////////////////////////////////////////////////////////////////////
  48. //{{AFX_INSERT_LOCATION}}
  49. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  50. #endif // !defined(AFX_DIALOGBARDEMOVIEW_H__D614B24E_C5EC_11D2_B8C5_B41E04C10000__INCLUDED_)