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

对话框与窗口

开发平台:

Visual C++

  1. // CntrItem.cpp : implementation of the CRibbonMDISampleCntrItem class
  2. //
  3. #include "stdafx.h"
  4. #include "RibbonMDISample.h"
  5. #include "RibbonMDISampleDoc.h"
  6. #include "RibbonMDISampleView.h"
  7. #include "CntrItem.h"
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CRibbonMDISampleCntrItem implementation
  15. IMPLEMENT_SERIAL(CRibbonMDISampleCntrItem, CRichEditCntrItem, 0)
  16. CRibbonMDISampleCntrItem::CRibbonMDISampleCntrItem(REOBJECT* preo, CRibbonMDISampleDoc* pContainer)
  17. : CRichEditCntrItem(preo, pContainer)
  18. {
  19. // TODO: add one-time construction code here
  20. }
  21. CRibbonMDISampleCntrItem::~CRibbonMDISampleCntrItem()
  22. {
  23. // TODO: add cleanup code here
  24. }
  25. /////////////////////////////////////////////////////////////////////////////
  26. // CRibbonMDISampleCntrItem diagnostics
  27. #ifdef _DEBUG
  28. void CRibbonMDISampleCntrItem::AssertValid() const
  29. {
  30. CRichEditCntrItem::AssertValid();
  31. }
  32. void CRibbonMDISampleCntrItem::Dump(CDumpContext& dc) const
  33. {
  34. CRichEditCntrItem::Dump(dc);
  35. }
  36. #endif
  37. /////////////////////////////////////////////////////////////////////////////