資源簡介
win7可執行,vc6.0,mfc

代碼片段和文件信息
//?SmCal.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“SmCal.h“
#include?“SmCalDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CSmCalApp
BEGIN_MESSAGE_MAP(CSmCalApp?CWinApp)
//{{AFX_MSG_MAP(CSmCalApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CSmCalApp?construction
CSmCalApp::CSmCalApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CSmCalApp?object
CSmCalApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CSmCalApp?initialization
BOOL?CSmCalApp::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
CSmCalDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????3561??2016-10-27?15:34??SmCal\ReadMe.txt
?????文件???????1078??2016-10-27?15:34??SmCal\res\SmCal.ico
?????文件????????397??2016-10-27?15:34??SmCal\res\SmCal.rc2
?????文件????????821??2016-11-04?21:41??SmCal\resource.h
?????文件??????35540??2016-11-04?21:42??SmCal\SmCal.aps
?????文件???????1243??2016-11-09?18:52??SmCal\SmCal.clw
?????文件???????2049??2016-10-27?15:34??SmCal\SmCal.cpp
?????文件???????4141??2016-10-27?15:34??SmCal\SmCal.dsp
?????文件????????533??2016-10-27?15:34??SmCal\SmCal.dsw
?????文件???????1313??2016-10-27?15:34??SmCal\SmCal.h
?????文件??????58368??2016-11-09?18:52??SmCal\SmCal.ncb
?????文件??????55808??2016-11-09?18:52??SmCal\SmCal.opt
?????文件????????244??2016-11-09?18:52??SmCal\SmCal.plg
?????文件???????5518??2016-11-04?21:42??SmCal\SmCal.rc
?????文件???????8493??2016-11-04?22:20??SmCal\SmCalDlg.cpp
?????文件???????1806??2016-11-04?20:55??SmCal\SmCalDlg.h
?????文件????????207??2016-10-27?15:34??SmCal\StdAfx.cpp
?????文件???????1054??2016-10-27?15:34??SmCal\StdAfx.h
?????目錄??????????0??2016-10-27?15:34??SmCal\res
?????目錄??????????0??2016-11-09?18:52??SmCal
-----------?---------??----------?-----??----
???????????????182174????????????????????20
評論
共有 條評論