资源简介
用MFC编界面 介绍 介绍了登陆和注册等按钮的方法
代码片段和文件信息
// emter.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “emter.h“
#include “emterDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEmterApp
BEGIN_MESSAGE_MAP(CEmterApp CWinApp)
//{{AFX_MSG_MAP(CEmterApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CEmterApp construction
CEmterApp::CEmterApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CEmterApp object
CEmterApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CEmterApp initialization
BOOL CEmterApp::InitInstance()
{
AfxEnableControlContainer();
//AfxOleInit();
if(!AfxOleInit())
{
AfxMessageBox(“初始化OLE DLL失败!“);
return FALSE;
}
// 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.
// 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
CEmterDlg dlg;
m_pMainWnd = &dlg;
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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 122880 2011-06-26 21:42 emter\db.mdb
文件 122880 2011-06-26 21:42 emter\Debug\db.mdb
文件 127025 2011-06-30 19:05 emter\Debug\emter.exe
文件 286884 2011-06-30 19:05 emter\Debug\emter.ilk
文件 17786 2011-06-26 21:41 emter\Debug\emter.obj
文件 7699796 2011-06-20 10:42 emter\Debug\emter.pch
文件 631808 2011-06-30 19:05 emter\Debug\emter.pdb
文件 2660 2011-06-26 21:33 emter\Debug\emter.res
文件 96291 2011-06-30 19:05 emter\Debug\emterDlg.obj
文件 90665 2010-11-09 22:51 emter\Debug\msado15.tlh
文件 76637 2010-11-09 22:51 emter\Debug\msado15.tli
文件 133173 2011-06-20 10:42 emter\Debug\StdAfx.obj
文件 246784 2011-06-30 19:06 emter\Debug\vc60.idb
文件 561152 2011-06-30 19:05 emter\Debug\vc60.pdb
文件 35696 2011-06-26 21:33 emter\emter.aps
文件 1297 2011-06-30 19:23 emter\emter.clw
文件 2382 2011-06-20 10:43 emter\emter.cpp
文件 4141 2011-06-20 10:38 emter\emter.dsp
文件 533 2011-06-20 10:38 emter\emter.dsw
文件 1326 2011-06-23 21:28 emter\emter.h
文件 140288 2011-06-30 19:23 emter\emter.ncb
文件 167424 2011-06-30 19:23 emter\emter.opt
文件 244 2011-06-30 19:06 emter\emter.plg
文件 5616 2011-06-26 21:33 emter\emter.rc
文件 9718 2011-06-30 19:05 emter\emterDlg.cpp
文件 1595 2011-06-26 21:41 emter\emterDlg.h
文件 3561 2011-06-20 10:38 emter\ReadMe.txt
文件 1078 2011-06-20 10:38 emter\res\emter.ico
文件 397 2011-06-20 10:38 emter\res\emter.rc2
文件 1005 2011-06-26 21:28 emter\resource.h
............此处省略8个文件信息
相关资源
- OpenGL+MFC工程具备鼠标操作
- MFC实现UDP网络编程
- MFC创建多线程工作者线程demo
- MFC 鼠标按下与弹起事件响应
- 如何使用GDI+制作圆形图片(类似QQ圆
- VC MFC CAN 通信程序支持周立功
- MFC校园导航
- C++程序编写的MFC控件的打地鼠游戏
- MFC图像直方图均衡化、锐化、中值滤
- VC++ MFC制作数字时钟、图形时钟、秒表
- MFC个人通讯录管理系统
- 舒尔特方格MFC源码
- Frogs_MFCCs.csv
- 读取txt文件数据,根据数据画曲线绝
- VC++ MFC 游戏手柄Joystick 编程
- c++ mfc客户端服务器端文件传输
- MFC实现矩阵的操作
- 简单的VC++基于MFC计算器
- 基于MFC的聊天室网络socket
- MFC实现扫雷
- 用遗传算法实现语音识别--基于mfcc参
- mfc 二维图形的变换 旋转 平移 比例
- 基于MFC简单的学生信息管理系统ODBC
- C++图书借阅系统MFC
- 通讯录设计基于MFC的个人通讯录管理
- 梁友栋barsky算法
- MFC操作excel
- mfc单文档画图,可改颜色,设置线条
- 基于MFC的个人通讯录管理系统
- mfc经典例程150例
评论
共有 条评论