SkinSDISampleView.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:2k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. // SkinSDISampleView.h : interface of the CSkinSDISampleView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_SKINSDISAMPLEVIEW_H__8D17416C_4E89_4942_ADE0_AD4AD2AF479C__INCLUDED_)
  5. #define AFX_SKINSDISAMPLEVIEW_H__8D17416C_4E89_4942_ADE0_AD4AD2AF479C__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CSkinSDISampleCntrItem;
  10. class CSkinSDISampleView : public CRichEditView
  11. {
  12. protected: // create from serialization only
  13. CSkinSDISampleView();
  14. DECLARE_DYNCREATE(CSkinSDISampleView)
  15. // Attributes
  16. public:
  17. CSkinSDISampleDoc* GetDocument();
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CSkinSDISampleView)
  23. public:
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. protected:
  26. virtual void OnInitialUpdate(); // called first time after construct
  27. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. public:
  31. virtual ~CSkinSDISampleView();
  32. #ifdef _DEBUG
  33. virtual void AssertValid() const;
  34. virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36. protected:
  37. // Generated message map functions
  38. protected:
  39. //{{AFX_MSG(CSkinSDISampleView)
  40. afx_msg void OnDestroy();
  41. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. };
  45. #ifndef _DEBUG  // debug version in SkinSDISampleView.cpp
  46. inline CSkinSDISampleDoc* CSkinSDISampleView::GetDocument()
  47. { return (CSkinSDISampleDoc*)m_pDocument; }
  48. #endif
  49. /////////////////////////////////////////////////////////////////////////////
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_SKINSDISAMPLEVIEW_H__8D17416C_4E89_4942_ADE0_AD4AD2AF479C__INCLUDED_)