home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / ole / drawcli / statpage.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.6 KB  |  64 lines

  1. // statpage.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "drawcli.h"
  6. #include "statpage.h"
  7.  
  8. #ifdef _DEBUG
  9. #undef THIS_FILE
  10. static char THIS_FILE[] = __FILE__;
  11. #endif
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CStatPage property page
  15.  
  16. IMPLEMENT_DYNCREATE(CStatPage, CPropertyPage)
  17.  
  18. CStatPage::CStatPage() : CPropertyPage(CStatPage::IDD)
  19. {
  20.         //{{AFX_DATA_INIT(CStatPage)
  21.     m_strCreateDate = _T("");
  22.     m_strEditTime = _T("");
  23.     m_strLastPrint = _T("");
  24.     m_strLastSave = _T("");
  25.     m_strNumChars = _T("");
  26.     m_strNumPages = _T("");
  27.     m_strNumWords = _T("");
  28.     m_strRevNum = _T("");
  29.     m_strSavedBy = _T("");
  30.     m_strSecurity = _T("");
  31.     //}}AFX_DATA_INIT
  32. }
  33.  
  34. CStatPage::~CStatPage()
  35. {
  36. }
  37.  
  38. void CStatPage::DoDataExchange(CDataExchange* pDX)
  39. {
  40.     CPropertyPage::DoDataExchange(pDX);
  41.         //{{AFX_DATA_MAP(CStatPage)
  42.     DDX_Text(pDX, IDC_CREATEDATE, m_strCreateDate);
  43.     DDX_Text(pDX, IDC_EDITTIME, m_strEditTime);
  44.     DDX_Text(pDX, IDC_LASTPRINT, m_strLastPrint);
  45.     DDX_Text(pDX, IDC_LASTSAVE, m_strLastSave);
  46.     DDX_Text(pDX, IDC_NUMCHARS, m_strNumChars);
  47.     DDX_Text(pDX, IDC_NUMPAGES, m_strNumPages);
  48.     DDX_Text(pDX, IDC_NUMWORDS, m_strNumWords);
  49.     DDX_Text(pDX, IDC_REVNUM, m_strRevNum);
  50.     DDX_Text(pDX, IDC_SAVEDBY, m_strSavedBy);
  51.     DDX_Text(pDX, IDC_SECURITY, m_strSecurity);
  52.     //}}AFX_DATA_MAP
  53. }
  54.  
  55.  
  56. BEGIN_MESSAGE_MAP(CStatPage, CPropertyPage)
  57.         //{{AFX_MSG_MAP(CStatPage)
  58.         // NOTE: the ClassWizard will add message map macros here
  59.     //}}AFX_MSG_MAP
  60. END_MESSAGE_MAP()
  61.  
  62. /////////////////////////////////////////////////////////////////////////////
  63. // CStatPage message handlers
  64.