// TextDlg.cpp : CDialog-derived class implementation file
// generated by AppWizard and modified with the help of ClassWizard
// color sketching with a text display modal dialog box

// Bold-faced statements were entered by the programmer.
// Italicized statements were generated by ClassWizard.
//

#include "stdafx.h"
#include "sketch.h"
#include "TextDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CTextDlg dialog


CTextDlg::CTextDlg(CWnd* pParent /*=NULL*/)
        : CDialog(CTextDlg::IDD, pParent)
{
        //{{AFX_DATA_INIT(CTextDlg)
        m_text = _T("Initial String");
        m_x = 0;
        m_y = 0;
        //}}AFX_DATA_INIT
}


void CTextDlg::DoDataExchange(CDataExchange* pDX)
{
        CDialog::DoDataExchange(pDX);
        //{{AFX_DATA_MAP(CTextDlg)
        DDX_Text(pDX, IDC_TEXTEDIT, m_text);
        DDX_Text(pDX, IDC_X, m_x);
        DDX_Text(pDX, IDC_Y, m_y);
        //}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CTextDlg, CDialog)
        //{{AFX_MSG_MAP(CTextDlg)
                // NOTE: the ClassWizard will add message map macros here
        //}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CTextDlg message handlers