ProgressDemoDoc.cpp
上传用户:xp758258
上传日期:2007-01-02
资源大小:40k
文件大小:1k
源码类别:

状态条

开发平台:

Visual C++

  1. // ProgressDemoDoc.cpp : implementation of the CProgressDemoDoc class
  2. //
  3. #include "stdafx.h"
  4. #include "ProgressDemo.h"
  5. #include "ProgressDemoDoc.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CProgressDemoDoc
  13. IMPLEMENT_DYNCREATE(CProgressDemoDoc, CDocument)
  14. BEGIN_MESSAGE_MAP(CProgressDemoDoc, CDocument)
  15. //{{AFX_MSG_MAP(CProgressDemoDoc)
  16. //}}AFX_MSG_MAP
  17. END_MESSAGE_MAP()
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CProgressDemoDoc construction/destruction
  20. CProgressDemoDoc::CProgressDemoDoc()
  21. {
  22. }
  23. CProgressDemoDoc::~CProgressDemoDoc()
  24. {
  25. }
  26. BOOL CProgressDemoDoc::OnNewDocument()
  27. {
  28. if (!CDocument::OnNewDocument())
  29. return FALSE;
  30. return TRUE;
  31. }
  32. /////////////////////////////////////////////////////////////////////////////
  33. // CProgressDemoDoc serialization
  34. void CProgressDemoDoc::Serialize(CArchive& ar)
  35. {
  36. if (ar.IsStoring())
  37. {
  38. }
  39. else
  40. {
  41. }
  42. }
  43. /////////////////////////////////////////////////////////////////////////////
  44. // CProgressDemoDoc diagnostics
  45. #ifdef _DEBUG
  46. void CProgressDemoDoc::AssertValid() const
  47. {
  48. CDocument::AssertValid();
  49. }
  50. void CProgressDemoDoc::Dump(CDumpContext& dc) const
  51. {
  52. CDocument::Dump(dc);
  53. }
  54. #endif //_DEBUG
  55. /////////////////////////////////////////////////////////////////////////////
  56. // CProgressDemoDoc commands