資源簡介
定時提醒任務功能。在設定的時間彈出對話框提醒用戶。
3、任務安排:可由用戶增加、刪除、修改任務安排,并設定提示的時間。

代碼片段和文件信息
//?Clo.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Clo.h“
#include?“CloDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCloApp
BEGIN_MESSAGE_MAP(CCloApp?CWinApp)
//{{AFX_MSG_MAP(CCloApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CCloApp?construction
CCloApp::CCloApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCloApp?object
CCloApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CCloApp?initialization
BOOL?CCloApp::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
CCloDlg?dlg;
m_pMainWnd?=?&dlg;
SetDialogBkColor(RGB(135206250)RGB(000));
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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????420844??2010-12-21?15:17??鬧鐘\Clo.aps
?????文件???????1376??2010-12-23?10:36??鬧鐘\Clo.clw
?????文件???????2070??2010-01-07?13:56??鬧鐘\Clo.cpp
?????文件???????4211??2010-01-07?13:56??鬧鐘\Clo.dsp
?????文件????????512??2010-01-07?13:56??鬧鐘\Clo.dsw
?????文件???????1291??2010-01-07?13:56??鬧鐘\Clo.h
?????文件??????91136??2010-12-23?10:36??鬧鐘\Clo.ncb
?????文件??????53760??2010-12-23?10:36??鬧鐘\Clo.opt
?????文件????????521??2010-01-08?08:50??鬧鐘\Clo.plg
?????文件???????5993??2010-01-08?08:49??鬧鐘\Clo.rc
?????文件???????5865??2010-01-07?13:56??鬧鐘\CloDlg.cpp
?????文件???????1465??2010-01-07?13:56??鬧鐘\CloDlg.h
?????文件?????589904??2010-01-08?08:50??鬧鐘\Debug\Clo.exe
?????文件?????203820??2010-01-08?08:50??鬧鐘\Debug\Clo.ilk
?????文件??????13113??2010-01-08?08:32??鬧鐘\Debug\Clo.obj
?????文件????5505248??2010-01-08?08:32??鬧鐘\Debug\Clo.pch
?????文件?????279552??2010-01-08?08:50??鬧鐘\Debug\Clo.pdb
?????文件?????402136??2010-01-08?08:49??鬧鐘\Debug\Clo.res
?????文件??????33857??2010-01-08?08:32??鬧鐘\Debug\CloDlg.obj
?????文件?????105738??2010-01-08?08:32??鬧鐘\Debug\StdAfx.obj
?????文件?????214016??2010-01-08?08:50??鬧鐘\Debug\vc60.idb
?????文件?????380928??2010-01-08?08:32??鬧鐘\Debug\vc60.pdb
?????文件???????3525??2010-01-07?13:56??鬧鐘\ReadMe.txt
?????文件?????284560??2010-01-08?08:49??鬧鐘\res\873db60032d942be7fac3aa65beb9048.wav
?????文件?????114732??2010-01-07?13:56??鬧鐘\res\aerosol.wav
?????文件???????1078??2010-01-07?13:56??鬧鐘\res\Clo.ico
?????文件????????395??2010-01-07?13:56??鬧鐘\res\Clo.rc2
?????文件???????1139??2010-01-08?08:49??鬧鐘\resource.h
?????文件????????205??2010-01-07?13:56??鬧鐘\StdAfx.cpp
?????文件???????1054??2010-01-07?13:56??鬧鐘\StdAfx.h
............此處省略7個文件信息
評論
共有 條評論