topical media & game development 
  
 
 
 
 
  
    
    
  
basic-program-solutions-17-Ch17-Soln-1-TextDialog.c
? / 
basic-program-solutions-17-Ch17-Soln-1-TextDialog.c
  // TextDialog.cpp : implementation file
  //
  
  include <stdafx.h>
  include <Sketcher.h>
  include <TextDialog.h>
  
  // CTextDialog dialog
  
  IMPLEMENT_DYNAMIC(CTextDialog, CDialog)
  
  CTextDialog::CTextDialog(CWnd* pParent /*=NULL*/)
          : CDialog(CTextDialog::IDD, pParent)
    , m_TextString(_T(""))
  {
  
  }
  
  CTextDialog::~CTextDialog()
  {
  }
  
  void CTextDialog::DoDataExchange(CDataExchange* pDX)
  {
    CDialog::DoDataExchange(pDX);
    DDX_Text(pDX, IDC_EDITTEXT, m_TextString);
          DDV_MaxChars(pDX, m_TextString, 100);
  }
  
  BEGIN_MESSAGE_MAP(CTextDialog, CDialog)
  END_MESSAGE_MAP()
  
  // CTextDialog message handlers
  
  
  
(C) Æliens 
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. 
In case of other copyright issues, contact the author.