CorpSms/DLG_SmsDSSee.cpp
2025-02-27 16:58:16 +08:00

74 lines
1.6 KiB
C++

// DLG_SmsDSSee.cpp : implementation file
//
#include "stdafx.h"
#include "corpsms.h"
#include "DLG_SmsDSSee.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// DLG_SmsDSSee dialog
DLG_SmsDSSee::DLG_SmsDSSee(CWnd* pParent /*=NULL*/)
: CDialog(DLG_SmsDSSee::IDD, pParent)
{
//{{AFX_DATA_INIT(DLG_SmsDSSee)
m_strMsg = _T("");
m_strRecver = _T("");
m_strSubTime = _T("");
m_strTimer = _T("");
//}}AFX_DATA_INIT
m_lType = 0;
}
void DLG_SmsDSSee::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(DLG_SmsDSSee)
DDX_Text(pDX, IDC_SMSDSSEE_MSG, m_strMsg);
DDX_Text(pDX, IDC_SMSDSSEE_RECVER, m_strRecver);
DDX_Text(pDX, IDC_SMSDSSEE_SUBTIME, m_strSubTime);
DDX_Text(pDX, IDC_SMSDSSEE_TIMER, m_strTimer);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(DLG_SmsDSSee, CDialog)
//{{AFX_MSG_MAP(DLG_SmsDSSee)
//}}AFX_MSG_MAP
ON_BN_CLICKED(IDOK, &DLG_SmsDSSee::OnBnClickedOk)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// DLG_SmsDSSee message handlers
BOOL DLG_SmsDSSee::OnInitDialog()
{
CDialog::OnInitDialog();
if ( m_lType ==1 ) //彩信
{
this->SetWindowText(_T("定时彩信资料查看"));
GetDlgItem(IDD_SMSDSSEE_S1)->SetWindowText(_T("彩信标题"));
}
UpdateData(false);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void DLG_SmsDSSee::OnBnClickedOk()
{
// TODO: 在此添加控件通知处理程序代码
CDialog::OnOK();
}