?? emailparams.cpp
字號:
// EmailParams.cpp : implementation file
//
#include "stdafx.h"
#include "SendEmail.h"
#include "EmailParams.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEmailParams dialog
CEmailParams::CEmailParams(CWnd* pParent /*=NULL*/)
: CDialog(CEmailParams::IDD, pParent)
{
//{{AFX_DATA_INIT(CEmailParams)
m_strAddr = _T("");
m_strFrom = _T("");
m_strServer = _T("");
m_strMessage = _T("");
m_strSubject = _T("");
//}}AFX_DATA_INIT
}
void CEmailParams::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CEmailParams)
DDX_Text(pDX, IDC_EMAILADDRESS, m_strAddr);
DDX_Text(pDX, IDC_FROM, m_strFrom);
DDX_Text(pDX, IDC_MAILSERVER, m_strServer);
DDX_Text(pDX, IDC_MESSAGE, m_strMessage);
DDV_MaxChars(pDX, m_strMessage, 300);
DDX_Text(pDX, IDC_SUBJECT, m_strSubject);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CEmailParams, CDialog)
//{{AFX_MSG_MAP(CEmailParams)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CEmailParams message handlers
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -