Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
1.7 KiB

  1. // OUPickerDoc.cpp : implementation of the COUPickerDoc class
  2. //
  3. #include "stdafx.h"
  4. #include "OUPicker.h"
  5. #include "OUPickerDoc.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // COUPickerDoc
  13. IMPLEMENT_DYNCREATE(COUPickerDoc, CDocument)
  14. BEGIN_MESSAGE_MAP(COUPickerDoc, CDocument)
  15. //{{AFX_MSG_MAP(COUPickerDoc)
  16. // NOTE - the ClassWizard will add and remove mapping macros here.
  17. // DO NOT EDIT what you see in these blocks of generated code!
  18. //}}AFX_MSG_MAP
  19. END_MESSAGE_MAP()
  20. /////////////////////////////////////////////////////////////////////////////
  21. // COUPickerDoc construction/destruction
  22. COUPickerDoc::COUPickerDoc()
  23. {
  24. // TODO: add one-time construction code here
  25. }
  26. COUPickerDoc::~COUPickerDoc()
  27. {
  28. }
  29. BOOL COUPickerDoc::OnNewDocument()
  30. {
  31. if (!CDocument::OnNewDocument())
  32. return FALSE;
  33. // TODO: add reinitialization code here
  34. // (SDI documents will reuse this document)
  35. return TRUE;
  36. }
  37. /////////////////////////////////////////////////////////////////////////////
  38. // COUPickerDoc serialization
  39. void COUPickerDoc::Serialize(CArchive& ar)
  40. {
  41. if (ar.IsStoring())
  42. {
  43. // TODO: add storing code here
  44. }
  45. else
  46. {
  47. // TODO: add loading code here
  48. }
  49. }
  50. /////////////////////////////////////////////////////////////////////////////
  51. // COUPickerDoc diagnostics
  52. #ifdef _DEBUG
  53. void COUPickerDoc::AssertValid() const
  54. {
  55. CDocument::AssertValid();
  56. }
  57. void COUPickerDoc::Dump(CDumpContext& dc) const
  58. {
  59. CDocument::Dump(dc);
  60. }
  61. #endif //_DEBUG
  62. /////////////////////////////////////////////////////////////////////////////
  63. // COUPickerDoc commands