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

菜单

开发平台:

Visual C++

  1. // A flat popup menu for controls
  2. // Copyright (c) 1999 Andy Brown <andy@mirage.dabsol.co.uk>
  3. // You may do whatever you like with this file, I just don't care.
  4. #include "stdafx.h"
  5. #include "SampleDoc.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. IMPLEMENT_DYNCREATE(CSampleDoc, CDocument)
  12. /***************/
  13. /* Message map */
  14. /***************/
  15. BEGIN_MESSAGE_MAP(CSampleDoc, CDocument)
  16. //{{AFX_MSG_MAP(CSampleDoc)
  17. //}}AFX_MSG_MAP
  18. END_MESSAGE_MAP()
  19. /***************/
  20. /* Constructor */
  21. /***************/
  22. CSampleDoc::CSampleDoc()
  23. {
  24. }
  25. /**************/
  26. /* Destructor */
  27. /**************/
  28. CSampleDoc::~CSampleDoc()
  29. {
  30. }
  31. /**************************/
  32. /* CSampleDoc diagnostics */
  33. /**************************/
  34. #ifdef _DEBUG
  35. void CSampleDoc::AssertValid() const
  36. {
  37. CDocument::AssertValid();
  38. }
  39. void CSampleDoc::Dump(CDumpContext& dc) const
  40. {
  41. CDocument::Dump(dc);
  42. }
  43. #endif //_DEBUG