00001 //############################################################################################################################################### 00002 // 00003 // Meta and Builder Object Network V2.0 for GME 00004 // PrintDlg.cpp 00005 // 00006 //############################################################################################################################################### 00007 00008 /* 00009 Copyright (c) Vanderbilt University, 2000-2004 00010 ALL RIGHTS RESERVED 00011 00012 Vanderbilt University disclaims all warranties with regard to this 00013 software, including all implied warranties of merchantability 00014 and fitness. In no event shall Vanderbilt University be liable for 00015 any special, indirect or consequential damages or any damages 00016 whatsoever resulting from loss of use, data or profits, whether 00017 in an action of contract, negligence or other tortious action, 00018 arising out of or in connection with the use or performance of 00019 this software. 00020 */ 00021 00022 #include "stdafx.h" 00023 #include "PrintDlg.h" 00024 00025 #ifdef _DEBUG 00026 #define new DEBUG_NEW 00027 #undef THIS_FILE 00028 static char THIS_FILE[] = __FILE__; 00029 #endif 00030 00031 //############################################################################################################################################### 00032 // 00033 // C L A S S : CPrintDlg 00034 // 00035 //############################################################################################################################################### 00036 00037 CPrintDlg::CPrintDlg(CWnd* pParent /*=NULL*/) 00038 : CDialog(CPrintDlg::IDD, pParent) 00039 { 00040 //{{AFX_DATA_INIT(CPrintDlg) 00041 m_strValue = _T(""); 00042 //}}AFX_DATA_INIT 00043 } 00044 00045 00046 void CPrintDlg::DoDataExchange(CDataExchange* pDX) 00047 { 00048 CDialog::DoDataExchange(pDX); 00049 //{{AFX_DATA_MAP(CPrintDlg) 00050 DDX_Text(pDX, IDC_EDIT, m_strValue); 00051 //}}AFX_DATA_MAP 00052 } 00053 00054 BEGIN_MESSAGE_MAP(CPrintDlg, CDialog) 00055 //{{AFX_MSG_MAP(CPrintDlg) 00056 //}}AFX_MSG_MAP 00057 END_MESSAGE_MAP() 00058 00059 BOOL CPrintDlg::OnInitDialog() 00060 { 00061 CDialog::OnInitDialog(); 00062 UpdateData( false ); 00063 return TRUE; 00064 } 00065 00066 void CPrintDlg::OnOK() 00067 { 00068 CDialog::OnOK(); 00069 }