home *** CD-ROM | disk | FTP | other *** search
/ Using Visual C++ 4 (Special Edition) / Using_Visual_C_4_Special_Edition_QUE_1996.iso / ch09 / dialogs.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-13  |  944 b   |  42 lines

  1. // dialogs.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "autoclik.h"
  6. #include "dialogs.h"
  7.  
  8. #ifdef _DEBUG
  9. #undef THIS_FILE
  10. static char BASED_CODE THIS_FILE[] = __FILE__;
  11. #endif
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CChangeText dialog
  15.  
  16.  
  17. CChangeText::CChangeText(CWnd* pParent /*=NULL*/)
  18.     : CDialog(CChangeText::IDD, pParent)
  19. {
  20.     //{{AFX_DATA_INIT(CChangeText)
  21.     m_str = _T("");
  22.     //}}AFX_DATA_INIT
  23. }
  24.  
  25. void CChangeText::DoDataExchange(CDataExchange* pDX)
  26. {
  27.     CDialog::DoDataExchange(pDX);
  28.     //{{AFX_DATA_MAP(CChangeText)
  29.     DDX_Text(pDX, IDC_EDIT1, m_str);
  30.     //}}AFX_DATA_MAP
  31. }
  32.  
  33. BEGIN_MESSAGE_MAP(CChangeText, CDialog)
  34.     //{{AFX_MSG_MAP(CChangeText)
  35.         // NOTE: the ClassWizard will add message map macros here
  36.     //}}AFX_MSG_MAP
  37. END_MESSAGE_MAP()
  38.  
  39.  
  40. /////////////////////////////////////////////////////////////////////////////
  41. // CChangeText message handlers
  42.