home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 19.ddi / MFC / SAMPLES / SUPERPAD / TABSTOP.CP_ / TABSTOP.CP
Encoding:
Text File  |  1993-02-08  |  1.4 KB  |  52 lines

  1. // tabstop.cpp : implementation of the CPadView class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and Microsoft
  9. // QuickHelp and/or WinHelp documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13.  
  14.  
  15. #include "stdafx.h"
  16. #include "superpad.h"
  17. #include "tabstop.h"
  18.  
  19. #ifdef _DEBUG
  20. #undef THIS_FILE
  21. static char BASED_CODE THIS_FILE[] = __FILE__;
  22. #endif
  23.  
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CSetTabStops dialog
  26.  
  27. IMPLEMENT_DYNAMIC(CSetTabStops, CDialog)
  28.  
  29. CSetTabStops::CSetTabStops(CWnd* pParent /* = NULL */)
  30.     : CDialog(CSetTabStops::IDD, pParent)
  31. {
  32.     //{{AFX_DATA_INIT(CSetTabStops)
  33.     //}}AFX_DATA_INIT
  34. }
  35.  
  36. void CSetTabStops::DoDataExchange(CDataExchange* pDX)
  37. {
  38.     CDialog::DoDataExchange(pDX);
  39.     //{{AFX_DATA_MAP(CSetTabStops)
  40.     DDX_Text(pDX, IDC_EDIT_TABS, m_nTabStops);
  41.     DDV_MinMaxUInt(pDX, m_nTabStops, 1, 16);
  42.     //}}AFX_DATA_MAP
  43. }
  44.  
  45. BEGIN_MESSAGE_MAP(CSetTabStops, CDialog)
  46.     //{{AFX_MSG_MAP(CSetTabStops)
  47.     //}}AFX_MSG_MAP
  48. END_MESSAGE_MAP()
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51. // CSetTabStops message handlers
  52.