ErrorDlg.cpp
上传用户:kkzhu_0
上传日期:2007-01-05
资源大小:214k
文件大小:1k
- // ErrorDlg.cpp : implementation file
- //
- #include "stdafx.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CErrorDlg dialog
- CErrorDlg::CErrorDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CErrorDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CErrorDlg)
- // NOTE: the ClassWizard will add member initialization here
- //}}AFX_DATA_INIT
- }
- void CErrorDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CErrorDlg)
- // NOTE: the ClassWizard will add DDX and DDV calls here
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CErrorDlg, CDialog)
- //{{AFX_MSG_MAP(CErrorDlg)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CErrorDlg message handlers
- BOOL CErrorDlg::OnInitDialog()
- {
- CDialog::OnInitDialog();
-
- // TODO: Add extra initialization here
- SetDlgItemText( ID_ERROR_INFO,Info );
- SetDlgItemText( ID_ERROR_NAME,Name );
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
- }