// GasFireTextDlg.cpp : implementation file // #include "stdafx.h" #include "GasFireTextDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CGasFireTextDlg dialog CGasFireTextDlg::CGasFireTextDlg(CWnd* pParent /*=NULL*/) : CDialog(CGasFireTextDlg::IDD, pParent) { //{{AFX_DATA_INIT(CGasFireTextDlg) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } void CGasFireTextDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CGasFireTextDlg) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CGasFireTextDlg, CDialog) //{{AFX_MSG_MAP(CGasFireTextDlg) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CGasFireText2Dlg dialog CGasFireText2Dlg::CGasFireText2Dlg(CWnd* pParent /*=NULL*/) : CDialog(CGasFireText2Dlg::IDD, pParent) { //{{AFX_DATA_INIT(CGasFireText2Dlg) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } void CGasFireText2Dlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CGasFireText2Dlg) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CGasFireText2Dlg, CDialog) //{{AFX_MSG_MAP(CGasFireText2Dlg) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CGasFireText2Dlg message handlers BOOL CGasFireText2Dlg::OnInitDialog() { CDialog::OnInitDialog(); // TODO: Add extra initialization here return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE } #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CNoteDlg dialog CNoteDlg::CNoteDlg(CWnd* pParent /*=NULL*/) : CDialog(CNoteDlg::IDD, pParent) { //{{AFX_DATA_INIT(CNoteDlg) m_sText = _T(""); m_sTitle = _T(""); //}}AFX_DATA_INIT } void CNoteDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CNoteDlg) DDX_Text(pDX, IDC_STATIC_TEXT, m_sText); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CNoteDlg, CDialog) //{{AFX_MSG_MAP(CNoteDlg) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CNoteDlg message handlers BOOL CNoteDlg::OnInitDialog() { CDialog::OnInitDialog(); SetWindowText(m_sTitle); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }