tab_dlg_barDoc.cpp
上传用户:ledjyj
上传日期:2019-03-13
资源大小:36k
文件大小:1k
源码类别:

工具条

开发平台:

Visual C++

  1. // tab_dlg_barDoc.cpp : implementation of the Ctab_dlg_barDoc class
  2. //
  3. #include "stdafx.h"
  4. #include "tab_dlg_bar.h"
  5. #include "tab_dlg_barDoc.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #endif
  9. // Ctab_dlg_barDoc
  10. IMPLEMENT_DYNCREATE(Ctab_dlg_barDoc, CDocument)
  11. BEGIN_MESSAGE_MAP(Ctab_dlg_barDoc, CDocument)
  12. END_MESSAGE_MAP()
  13. // Ctab_dlg_barDoc construction/destruction
  14. Ctab_dlg_barDoc::Ctab_dlg_barDoc()
  15. {
  16. // TODO: add one-time construction code here
  17. }
  18. Ctab_dlg_barDoc::~Ctab_dlg_barDoc()
  19. {
  20. }
  21. BOOL Ctab_dlg_barDoc::OnNewDocument()
  22. {
  23. if (!CDocument::OnNewDocument())
  24. return FALSE;
  25. // TODO: add reinitialization code here
  26. // (SDI documents will reuse this document)
  27. return TRUE;
  28. }
  29. // Ctab_dlg_barDoc serialization
  30. void Ctab_dlg_barDoc::Serialize(CArchive& ar)
  31. {
  32. if (ar.IsStoring())
  33. {
  34. // TODO: add storing code here
  35. }
  36. else
  37. {
  38. // TODO: add loading code here
  39. }
  40. }
  41. // Ctab_dlg_barDoc diagnostics
  42. #ifdef _DEBUG
  43. void Ctab_dlg_barDoc::AssertValid() const
  44. {
  45. CDocument::AssertValid();
  46. }
  47. void Ctab_dlg_barDoc::Dump(CDumpContext& dc) const
  48. {
  49. CDocument::Dump(dc);
  50. }
  51. #endif //_DEBUG
  52. // Ctab_dlg_barDoc commands