home *** CD-ROM | disk | FTP | other *** search
/ Mastering Microsoft Visual C++ 4 (2nd Edition) / VisualC4.ISO / tabdemo / justify.cpp next >
Encoding:
C/C++ Source or Header  |  1995-09-30  |  1019 b   |  47 lines

  1. // Justify.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "TabDemo.h"
  6. #include "Justify.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. // CJustify property page
  16.  
  17. IMPLEMENT_DYNCREATE(CJustify, CPropertyPage)
  18.  
  19. CJustify::CJustify() : CPropertyPage(CJustify::IDD)
  20. {
  21.    //{{AFX_DATA_INIT(CJustify)
  22.    m_Justify = -1;
  23.    //}}AFX_DATA_INIT
  24. }
  25.  
  26. CJustify::~CJustify()
  27. {
  28. }
  29.  
  30. void CJustify::DoDataExchange(CDataExchange* pDX)
  31. {
  32.    CPropertyPage::DoDataExchange(pDX);
  33.    //{{AFX_DATA_MAP(CJustify)
  34.    DDX_Radio(pDX, IDC_LEFT, m_Justify);
  35.    //}}AFX_DATA_MAP
  36. }
  37.  
  38.  
  39. BEGIN_MESSAGE_MAP(CJustify, CPropertyPage)
  40.    //{{AFX_MSG_MAP(CJustify)
  41.       // NOTE: the ClassWizard will add message map macros here
  42.    //}}AFX_MSG_MAP
  43. END_MESSAGE_MAP()
  44.  
  45. /////////////////////////////////////////////////////////////////////////////
  46. // CJustify message handlers
  47.