资源简介
VC++通讯录系统,VC++源代码程序,是很好的学习资料
代码片段和文件信息
// AddressBook.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “AddressBook.h“
#include “MainFrm.h“
#include “AddressBookDoc.h“
#include “AddressBookView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CAddressBookApp
BEGIN_MESSAGE_MAP(CAddressBookApp CWinApp)
//{{AFX_MSG_MAP(CAddressBookApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CAddressBookApp construction
CAddressBookApp::CAddressBookApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CAddressBookApp object
CAddressBookApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CAddressBookApp initialization
BOOL CAddressBookApp::InitInstance()
{
// 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
// Change the registry key under which our settings are stored.
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization.
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));
LoadStdProfileSettings(0); // Load standard INI file options (including MRU)
// Register the application‘s document templates. Document templates
// serve as the connection between documents frame windows and views.
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CAddressBookDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CAddressBookView));
AddDocTemplate(pDocTemplate);
// Enable DDE Execute open
EnableShellOpen();
RegisterShellFileTypes(TRUE);
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
// The one and only window has been initialized so show and update it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWn
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
......R 27564 2008-02-29 17:02 VC++通讯录\AddressBook\AddressBook.aps
......R 2699 2008-02-29 17:03 VC++通讯录\AddressBook\AddressBook.clw
......R 4318 2006-12-04 23:09 VC++通讯录\AddressBook\AddressBook.cpp
......R 4784 2006-12-04 23:09 VC++通讯录\AddressBook\AddressBook.dsp
......R 530 2006-12-04 23:09 VC++通讯录\AddressBook\AddressBook.dsw
......R 1411 2006-12-04 23:09 VC++通讯录\AddressBook\AddressBook.h
......R 140288 2008-02-29 17:03 VC++通讯录\AddressBook\AddressBook.ncb
......R 54784 2008-02-29 17:03 VC++通讯录\AddressBook\AddressBook.opt
......R 2089 2008-02-29 17:03 VC++通讯录\AddressBook\AddressBook.plg
......R 11030 2006-12-04 23:09 VC++通讯录\AddressBook\AddressBook.rc
......R 714 2006-12-04 23:09 VC++通讯录\AddressBook\AddressBook.reg
......R 2343 2006-12-04 23:09 VC++通讯录\AddressBook\AddressBookDoc.cpp
......R 1602 2006-12-04 23:09 VC++通讯录\AddressBook\AddressBookDoc.h
......R 12280 2007-12-05 00:56 VC++通讯录\AddressBook\AddressBookView.cpp
......R 2376 2006-12-04 23:09 VC++通讯录\AddressBook\AddressBookView.h
......R 1502 2006-12-04 23:09 VC++通讯录\AddressBook\MainFrm.cpp
......R 1421 2006-12-04 23:09 VC++通讯录\AddressBook\MainFrm.h
......R 931 2006-12-04 23:09 VC++通讯录\AddressBook\Person.cpp
......R 725 2006-12-04 23:09 VC++通讯录\AddressBook\Person.h
......R 4406 2006-12-04 23:09 VC++通讯录\AddressBook\ReadMe.txt
......R 213 2006-12-04 23:09 VC++通讯录\AddressBook\StdAfx.cpp
......R 999 2006-12-04 23:09 VC++通讯录\AddressBook\StdAfx.h
......R 1078 2006-12-04 23:09 VC++通讯录\AddressBook\res\AddressBook.ico
......R 403 2006-12-04 23:09 VC++通讯录\AddressBook\res\AddressBook.rc2
......R 1078 2006-12-04 23:09 VC++通讯录\AddressBook\res\AddressBookDoc.ico
......R 1103 2006-12-04 23:09 VC++通讯录\AddressBook\resource.h
......R 150 2008-03-16 18:57 VC++通讯录\Release\AddressBook.bk
......R 32768 2008-02-29 17:03 VC++通讯录\Release\AddressBook.exe
文件 345 2009-05-30 14:38 VC++通讯录\说明.txt
文件 15628092 2009-05-06 15:55 VC++通讯录\勾月桌面管理系统(.net版).rar
............此处省略8个文件信息
评论
共有 条评论