// IODMessage.cpp : implementation file // #include "stdafx.h" #include "mainapp.h" #include "IODMsg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CIODMessage dialog CIODMessage::CIODMessage(CWnd* pParent /*=NULL*/) : CDialog(CIODMessage::IDD, pParent) { //{{AFX_DATA_INIT(CIODMessage) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT m_szMessage = ""; } void CIODMessage::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CIODMessage) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CIODMessage, CDialog) //{{AFX_MSG_MAP(CIODMessage) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CIODMessage message handlers BOOL CIODMessage::OnInitDialog() { CDialog::OnInitDialog(); //Display message SetDlgItemText(IDC_MESSAGE, m_szMessage); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }