c++电子邮箱


漂亮的电子邮箱。界面按钮都十分漂亮。可以借鉴。
资源截图
代码片段和文件信息
// myMailServer.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “myMailServer.h“
#include “myMailServerDlg.h“
#include “MySetDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMyMailServerApp

BEGIN_MESSAGE_MAP(CMyMailServerApp CWinApp)
//{{AFX_MSG_MAP(CMyMailServerApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMyMailServerApp construction

CMyMailServerApp::CMyMailServerApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CMyMailServerApp object

CMyMailServerApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CMyMailServerApp initialization

BOOL CMyMailServerApp::InitInstance()
{
AfxEnableControlContainer();
::CoInitialize(NULL);
// Standard initialization
// If you are not using these features and wish to reduce the size
//  of your final executable you should remove from the following
//  the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

CMySetDlg sdlg;
sdlg.m_Server = “pop3.163.com“;
sdlg.m_Psd = “123456“;
sdlg.m_Usr = “uutkuu@163.com“;

if(sdlg.DoModal() == IDOK)
{
CMyMailServerDlg dlg;
m_pMainWnd = &dlg;

dlg.m_mailServer = sdlg.m_Server;
dlg.m_mailPsd = sdlg.m_Psd;
dlg.m_mailUsr = sdlg.m_Usr;
int nResponse = dlg.DoModal();

if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}
}
// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-07-24 15:57  第4章
     目录           0  2015-07-24 15:57  第4章电子邮箱
     目录           0  2015-09-17 20:31  第4章电子邮箱myMailServer
     目录           0  2015-07-24 15:57  第4章电子邮箱myMailServerBitButtonNL
     文件       19183  2011-04-13 23:54  第4章电子邮箱myMailServerBitButtonNLBitButtonNL.cpp
     文件       11748  2004-06-05 10:48  第4章电子邮箱myMailServerBitButtonNLBitButtonNL.h
     目录           0  2015-07-24 15:57  第4章电子邮箱myMailServermp
     文件      235978  2010-05-05 16:08  第4章电子邮箱myMailServermpBack.bmp
     文件        8758  2010-05-05 16:08  第4章电子邮箱myMailServermpBtn_Blue_High.bmp
     文件        8758  2010-05-05 16:08  第4章电子邮箱myMailServermpBtn_Blue_Normal.bmp
     文件        8758  2010-05-05 16:08  第4章电子邮箱myMailServermpBtn_Kill_High.bmp
     文件        8758  2010-05-05 16:08  第4章电子邮箱myMailServermpBtn_Kill_Normal.bmp
     文件        3398  2010-05-05 16:08  第4章电子邮箱myMailServermpBtn_Left_High.bmp
     文件        3398  2010-05-05 16:08  第4章电子邮箱myMailServermpBtn_Left_Normal.bmp
     文件        1478  2010-05-05 16:07  第4章电子邮箱myMailServermpBtn_Max_Disable.bmp
     文件        1478  2010-05-05 16:15  第4章电子邮箱myMailServermpBtn_Min_Click.bmp
     文件         358  2010-05-05 16:15  第4章电子邮箱myMailServermpBtn_Min_High.bmp
     文件        1478  2010-05-05 16:15  第4章电子邮箱myMailServermpBtn_Min_Normal.bmp
     文件        3398  2010-05-05 16:07  第4章电子邮箱myMailServermpBtn_Right_High.bmp
     文件        3398  2010-05-05 16:07  第4章电子邮箱myMailServermpBtn_Right_Normal.bmp
     文件        1478  2010-05-05 16:15  第4章电子邮箱myMailServermpBtn_X_Click.bmp
     文件         358  2010-05-05 16:07  第4章电子邮箱myMailServermpBtn_X_High.bmp
     文件        1478  2010-05-05 16:07  第4章电子邮箱myMailServermpBtn_X_Normal.bmp
     目录           0  2015-08-26 11:48  第4章电子邮箱myMailServerDebug
     文件       51349  2015-08-07 15:29  第4章电子邮箱myMailServerDebugBitButtonNL.obj
     文件       55188  2001-09-28 08:00  第4章电子邮箱myMailServerDebugjmail.tlh
     文件       56870  2001-09-28 08:00  第4章电子邮箱myMailServerDebugjmail.tli
     文件     1925240  2015-08-26 11:48  第4章电子邮箱myMailServerDebugmyMailServer.exe
     文件      439748  2015-08-26 11:48  第4章电子邮箱myMailServerDebugmyMailServer.ilk
     文件       21964  2015-08-20 08:29  第4章电子邮箱myMailServerDebugmyMailServer.obj
     文件     7578396  2015-08-07 15:29  第4章电子邮箱myMailServerDebugmyMailServer.pch
............此处省略66个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)