vc++ 编程宝典(十年典藏版) 书后光盘源代码


vc++ 编程宝典(十年典藏版) 书后光盘源代码,即MA文件夹全部内容
资源截图
代码片段和文件信息
// Hello.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “Hello.h“
#include “HelloDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CHelloApp

BEGIN_MESSAGE_MAP(CHelloApp CWinApp)
//{{AFX_MSG_MAP(CHelloApp)
// 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()

/////////////////////////////////////////////////////////////////////////////
// CHelloApp construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CHelloApp object

CHelloApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CHelloApp initialization

BOOL CHelloApp::InitInstance()
{
AfxEnableControlContainer();

// 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

CHelloDlg 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;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ......R      1070  2010-06-03 18:03  MRInstance1例1.1HelloHello.clw

    ......R      2049  2008-03-04 19:31  MRInstance1例1.1HelloHello.cpp

    ......R      4141  2008-03-04 19:31  MRInstance1例1.1HelloHello.dsp

    ......R       533  2008-03-04 19:31  MRInstance1例1.1HelloHello.dsw

    ......R      1313  2008-03-04 19:31  MRInstance1例1.1HelloHello.h

    ......R    656896  2010-06-03 18:03  MRInstance1例1.1HelloHello.opt

    ......R      5245  2010-03-05 11:46  MRInstance1例1.1HelloHello.rc

    ......R       332  2010-06-03 17:58  MRInstance1例1.1HelloHello.sln

    .....HR      7168  2010-06-03 17:58  MRInstance1例1.1HelloHello.suo

    ......R      4329  2010-03-10 11:13  MRInstance1例1.1HelloHelloDlg.cpp

    ......R      1354  2008-03-05 09:02  MRInstance1例1.1HelloHelloDlg.h

    ......R      3561  2008-03-04 19:31  MRInstance1例1.1HelloReadMe.txt

    ......R       532  2008-03-04 19:31  MRInstance1例1.1HelloResource.h

    ......R       207  2008-03-04 19:31  MRInstance1例1.1HelloStdAfx.cpp

    ......R      1054  2008-03-04 19:31  MRInstance1例1.1HelloStdAfx.h

    ......R      1078  2008-03-04 19:31  MRInstance1例1.1Hello
esHello.ico

    ......R       397  2008-03-04 19:31  MRInstance1例1.1Hello
esHello.rc2

    ......R      1212  2010-04-19 11:38  MRInstance10例10.1DynamicCreateMenuDynamicCreateMenu.clw

    ......R      2217  2010-04-19 10:57  MRInstance10例10.1DynamicCreateMenuDynamicCreateMenu.cpp

    ......R      4357  2010-04-19 10:57  MRInstance10例10.1DynamicCreateMenuDynamicCreateMenu.dsp

    ......R       559  2010-04-19 10:57  MRInstance10例10.1DynamicCreateMenuDynamicCreateMenu.dsw

    ......R      1445  2010-04-19 10:57  MRInstance10例10.1DynamicCreateMenuDynamicCreateMenu.h

    ......R    657920  2010-06-04 11:10  MRInstance10例10.1DynamicCreateMenuDynamicCreateMenu.opt

    ......R      5073  2010-04-19 10:57  MRInstance10例10.1DynamicCreateMenuDynamicCreateMenu.rc

    ......R      4882  2010-04-19 11:31  MRInstance10例10.1DynamicCreateMenuDynamicCreateMenuDlg.cpp

    ......R      1506  2010-04-19 11:26  MRInstance10例10.1DynamicCreateMenuDynamicCreateMenuDlg.h

    ......R      3777  2010-04-19 10:57  MRInstance10例10.1DynamicCreateMenuReadMe.txt

    ......R       556  2010-04-19 10:57  MRInstance10例10.1DynamicCreateMenuResource.h

    ......R       219  2010-04-19 10:57  MRInstance10例10.1DynamicCreateMenuStdAfx.cpp

    ......R      1054  2010-04-19 10:57  MRInstance10例10.1DynamicCreateMenuStdAfx.h

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

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

发表评论

评论列表(条)