OKMessageDlg.cpp
上传用户:qhonly
上传日期:2013-06-10
资源大小:487k
文件大小:1k
- // OKMessageDlg.cpp : 实现文件
- //
- #include "stdafx.h"
- #include "WebGet.h"
- #include "OKMessageDlg.h"
- // COKMessageDlg 对话框
- IMPLEMENT_DYNAMIC(COKMessageDlg, CRTDialog)
- COKMessageDlg::COKMessageDlg(CWnd* pParent,LPCTSTR lpCaption,LPCTSTR lpMessage)
- : CRTDialog(COKMessageDlg::IDD, pParent)
- {
- m_Cpation = lpCaption;
- m_Message = lpMessage;
- }
- COKMessageDlg::~COKMessageDlg()
- {
- }
- void COKMessageDlg::DoDataExchange(CDataExchange* pDX)
- {
- CRTDialog::DoDataExchange(pDX);
- DDX_Control(pDX, IDC_S_MESSAGE, m_s_Message);
- DDX_Control(pDX, IDOK, m_b_OK);
- DDX_Control(pDX, IDCANCEL, m_b_Cancel);
- }
- BEGIN_MESSAGE_MAP(COKMessageDlg, CRTDialog)
- END_MESSAGE_MAP()
- // COKMessageDlg 消息处理程序
- BOOL COKMessageDlg::OnInitDialog()
- {
- CRTDialog::OnInitDialog();
- m_s_Message.SetWindowText(m_Message);
- SetWindowText(m_Cpation);
- return TRUE;
- }