Display.cpp
Upload User: vhonor
Upload Date: 2022-03-18
Package Size: 3538k
Code Size: 2k
Category:

Dialog_Window

Development Platform:

Visual C++

  1. // Display.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "zhu2.h"
  5. #include "Display.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CDisplay
  13. IMPLEMENT_DYNCREATE(CDisplay, CDocument)
  14. CDisplay::CDisplay()
  15. {
  16. }
  17. BOOL CDisplay::OnNewDocument()
  18. {
  19. if (!CDocument::OnNewDocument())
  20. return FALSE;
  21. return TRUE;
  22. }
  23. CDisplay::~CDisplay()
  24. {
  25. }
  26. BEGIN_MESSAGE_MAP(CDisplay, CDocument)
  27. //{{AFX_MSG_MAP(CDisplay)
  28. //}}AFX_MSG_MAP
  29. END_MESSAGE_MAP()
  30. /////////////////////////////////////////////////////////////////////////////
  31. // CDisplay diagnostics
  32. #ifdef _DEBUG
  33. void CDisplay::AssertValid() const
  34. {
  35. CDocument::AssertValid();
  36. }
  37. void CDisplay::Dump(CDumpContext& dc) const
  38. {
  39. CDocument::Dump(dc);
  40. }
  41. #endif //_DEBUG
  42. /////////////////////////////////////////////////////////////////////////////
  43. // CDisplay serialization
  44. void CDisplay::Serialize(CArchive& ar)
  45. {
  46. if (ar.IsStoring())
  47. {
  48. // TODO: add storing code here
  49. }
  50. else
  51. {
  52. // TODO: add loading code here
  53. }
  54. }
  55. /////////////////////////////////////////////////////////////////////////////
  56. // CDisplay commands
  57. //DEL void CDisplay::OnShow() 
  58. //DEL {
  59. //DEL  // TODO: Add your command handler code here
  60. //DEL 
  61. //DEL }
  62. //DEL void CDisplay::OnUpdateShow(CCmdUI* pCmdUI) 
  63. //DEL {
  64. //DEL  // TODO: Add your command update UI handler code here
  65. //DEL 
  66. //DEL }