VC++通讯录系统VC++源代码程序


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++通讯录AddressBookAddressBook.aps

    ......R      2699  2008-02-29 17:03  VC++通讯录AddressBookAddressBook.clw

    ......R      4318  2006-12-04 23:09  VC++通讯录AddressBookAddressBook.cpp

    ......R      4784  2006-12-04 23:09  VC++通讯录AddressBookAddressBook.dsp

    ......R       530  2006-12-04 23:09  VC++通讯录AddressBookAddressBook.dsw

    ......R      1411  2006-12-04 23:09  VC++通讯录AddressBookAddressBook.h

    ......R    140288  2008-02-29 17:03  VC++通讯录AddressBookAddressBook.ncb

    ......R     54784  2008-02-29 17:03  VC++通讯录AddressBookAddressBook.opt

    ......R      2089  2008-02-29 17:03  VC++通讯录AddressBookAddressBook.plg

    ......R     11030  2006-12-04 23:09  VC++通讯录AddressBookAddressBook.rc

    ......R       714  2006-12-04 23:09  VC++通讯录AddressBookAddressBook.reg

    ......R      2343  2006-12-04 23:09  VC++通讯录AddressBookAddressBookDoc.cpp

    ......R      1602  2006-12-04 23:09  VC++通讯录AddressBookAddressBookDoc.h

    ......R     12280  2007-12-05 00:56  VC++通讯录AddressBookAddressBookView.cpp

    ......R      2376  2006-12-04 23:09  VC++通讯录AddressBookAddressBookView.h

    ......R      1502  2006-12-04 23:09  VC++通讯录AddressBookMainFrm.cpp

    ......R      1421  2006-12-04 23:09  VC++通讯录AddressBookMainFrm.h

    ......R       931  2006-12-04 23:09  VC++通讯录AddressBookPerson.cpp

    ......R       725  2006-12-04 23:09  VC++通讯录AddressBookPerson.h

    ......R      4406  2006-12-04 23:09  VC++通讯录AddressBookReadMe.txt

    ......R       213  2006-12-04 23:09  VC++通讯录AddressBookStdAfx.cpp

    ......R       999  2006-12-04 23:09  VC++通讯录AddressBookStdAfx.h

    ......R      1078  2006-12-04 23:09  VC++通讯录AddressBook
esAddressBook.ico

    ......R       403  2006-12-04 23:09  VC++通讯录AddressBook
esAddressBook.rc2

    ......R      1078  2006-12-04 23:09  VC++通讯录AddressBook
esAddressBookDoc.ico

    ......R      1103  2006-12-04 23:09  VC++通讯录AddressBook
esource.h

    ......R       150  2008-03-16 18:57  VC++通讯录ReleaseAddressBook.bk

    ......R     32768  2008-02-29 17:03  VC++通讯录ReleaseAddressBook.exe

     文件        345  2009-05-30 14:38  VC++通讯录说明.txt

     文件   15628092  2009-05-06 15:55  VC++通讯录勾月桌面管理系统(.net版).rar

............此处省略8个文件信息

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

发表评论

评论列表(条)