StdDoc.h
上传用户:kelijie
上传日期:2007-01-01
资源大小:123k
文件大小:2k
源码类别:

图形图象

开发平台:

Visual C++

  1. #if !defined(AFX_STDDOC_H__CBFB110E_ED24_11D2_955D_8422F5C00000__INCLUDED_)
  2. #define AFX_STDDOC_H__CBFB110E_ED24_11D2_955D_8422F5C00000__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // StdDoc.h : header file
  7. //
  8. class CStandardView;
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CStandardDoc document
  11. class _declspec(dllexport) CStandardDoc : public CDocument
  12. {
  13. public:
  14. CStandardDoc();           // protected constructor used by dynamic creation
  15. DECLARE_DYNCREATE(CStandardDoc)
  16. // Attributes
  17. public:
  18. // Operations
  19. public:
  20. virtual void GetMsgFromView(int ID, int pin, CString msg);
  21. virtual void ReleaseChildWindow(int ID, int pin);
  22.     
  23. void Broadcast(CStandardView* pSender, LPARAM lHint, CObject* pHint);
  24. // Overrides
  25. // ClassWizard generated virtual function overrides
  26. //{{AFX_VIRTUAL(CStandardDoc)
  27. public:
  28. virtual void Serialize(CArchive& ar);   // overridden for document i/o
  29. public:
  30. virtual BOOL OnNewDocument();
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. public:
  34. virtual ~CStandardDoc();
  35. #ifdef _DEBUG
  36. virtual void AssertValid() const;
  37. virtual void Dump(CDumpContext& dc) const;
  38. #endif
  39. // Generated message map functions
  40. public:
  41. //{{AFX_MSG(CStandardDoc)
  42. // NOTE - the ClassWizard will add and remove member functions here.
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. };
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  48. #endif // !defined(AFX_STDDOC_H__CBFB110E_ED24_11D2_955D_8422F5C00000__INCLUDED_)