home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / samples / c06 / tabbed / phrastab.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.0 KB  |  47 lines

  1. // Tabbed.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "Tabbed.h"
  6. #include "PhrasTab.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CPhraseTab property page
  16.  
  17. IMPLEMENT_DYNCREATE(CPhraseTab, CPropertyPage)
  18.  
  19. CPhraseTab::CPhraseTab() : CPropertyPage(CPhraseTab::IDD)
  20. {
  21.     //{{AFX_DATA_INIT(CPhraseTab)
  22.     m_phrase = _T("");
  23.     //}}AFX_DATA_INIT
  24. }
  25.  
  26. CPhraseTab::~CPhraseTab()
  27. {
  28. }
  29.  
  30. void CPhraseTab::DoDataExchange(CDataExchange* pDX)
  31. {
  32.     CPropertyPage::DoDataExchange(pDX);
  33.     //{{AFX_DATA_MAP(CPhraseTab)
  34.     DDX_Text(pDX, IDC_PHRASE, m_phrase);
  35.     //}}AFX_DATA_MAP
  36. }
  37.  
  38.  
  39. BEGIN_MESSAGE_MAP(CPhraseTab, CPropertyPage)
  40.     //{{AFX_MSG_MAP(CPhraseTab)
  41.         // NOTE: the ClassWizard will add message map macros here
  42.     //}}AFX_MSG_MAP
  43. END_MESSAGE_MAP()
  44.  
  45. /////////////////////////////////////////////////////////////////////////////
  46. // CPhraseTab message handlers
  47.