// SingleInputDlg.cpp : ±¸Çö ÆÄÀÏÀÔ´Ï´Ù. // #include "stdafx.h" #include "PatchMaker.h" #include "SingleInputDlg.h" #include ".\singleinputdlg.h" // CSingleInputDlg ´ëÈ­ »óÀÚÀÔ´Ï´Ù. IMPLEMENT_DYNAMIC(CSingleInputDlg, CDialog) CSingleInputDlg::CSingleInputDlg(const CString& szTitle, const CString& szQuestion, CWnd* pParent /*=NULL*/) : CDialog(CSingleInputDlg::IDD, pParent) , m_szTitle(szTitle) , m_szQuestion(szQuestion) , m_szSingleInput(_T("")) { } CSingleInputDlg::~CSingleInputDlg() { } void CSingleInputDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); DDX_Text(pDX, IDC_INPUT_SINGLE_QUESTION, m_szQuestion); DDX_Text(pDX, IDC_INPUT_SINGLE_LINE, m_szSingleInput); } BEGIN_MESSAGE_MAP(CSingleInputDlg, CDialog) END_MESSAGE_MAP() // CSingleInputDlg ¸Þ½ÃÁö 󸮱âÀÔ´Ï´Ù. BOOL CSingleInputDlg::OnInitDialog() { CDialog::OnInitDialog(); // TODO: ¿©±â¿¡ Ãß°¡ ÃʱâÈ­ ÀÛ¾÷À» Ãß°¡ÇÕ´Ï´Ù. SetWindowText(m_szTitle); UpdateData(FALSE); return TRUE; // return TRUE unless you set the focus to a control // ¿¹¿Ü: OCX ¼Ó¼º ÆäÀÌÁö´Â FALSE¸¦ ¹ÝÈ¯ÇØ¾ß ÇÕ´Ï´Ù. }