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

  1. // RenameDl.cpp : implementation file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 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 related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. #include "stdafx.h"
  14. #include "DaoView.h"
  15. #include "RenameDl.h"
  16.  
  17. #ifdef _DEBUG
  18. #undef THIS_FILE
  19. static char THIS_FILE[] = __FILE__;
  20. #endif
  21.  
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CRenameDlg dialog
  24.  
  25.  
  26. CRenameDlg::CRenameDlg(CWnd* pParent /*=NULL*/)
  27.     : CDialog(CRenameDlg::IDD, pParent)
  28. {
  29.     //{{AFX_DATA_INIT(CRenameDlg)
  30.     m_strName = _T("");
  31.     //}}AFX_DATA_INIT
  32. }
  33.  
  34.  
  35. void CRenameDlg::DoDataExchange(CDataExchange* pDX)
  36. {
  37.     CDialog::DoDataExchange(pDX);
  38.     //{{AFX_DATA_MAP(CRenameDlg)
  39.     DDX_Text(pDX, IDC_ITEMNAME, m_strName);
  40.     //}}AFX_DATA_MAP
  41. }
  42.  
  43.  
  44. BEGIN_MESSAGE_MAP(CRenameDlg, CDialog)
  45.     //{{AFX_MSG_MAP(CRenameDlg)
  46.         // NOTE: the ClassWizard will add message map macros here
  47.     //}}AFX_MSG_MAP
  48. END_MESSAGE_MAP()
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51. // CRenameDlg message handlers
  52.