資源簡介
一個簡單的鬧鐘程序。主要邏輯是映射ontimer()函數,設置的臨時變量時間 與系統時間相同,響鬧鈴
代碼片段和文件信息
//?clock.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“clock.h“
#include?“clockDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CclockApp
BEGIN_MESSAGE_MAP(CclockApp?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()
//?CclockApp?construction
CclockApp::CclockApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
//?The?one?and?only?CclockApp?object
CclockApp?theApp;
//?CclockApp?initialization
BOOL?CclockApp::InitInstance()
{
//?InitCommonControlsEx()?is?required?on?Windows?XP?if?an?application
//?manifest?specifies?use?of?ComCtl32.dll?version?6?or?later?to?enable
//?visual?styles.??Otherwise?any?window?creation?will?fail.
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????58672??2012-10-28?15:40??鬧鐘\clock\clock\clock.aps
?????文件???????2071??2012-10-28?15:12??鬧鐘\clock\clock\clock.cpp
?????文件????????498??2012-10-28?15:12??鬧鐘\clock\clock\clock.h
?????文件???????5413??2012-10-28?15:40??鬧鐘\clock\clock\clock.rc
?????文件???????5471??2012-10-28?15:27??鬧鐘\clock\clock\clock.vcproj
?????文件???????1427??2012-10-28?15:44??鬧鐘\clock\clock\clock.vcproj.PC-201202232112.Administrator.user
?????文件???????4996??2012-10-28?15:42??鬧鐘\clock\clock\clockDlg.cpp
?????文件????????941??2012-10-28?15:40??鬧鐘\clock\clock\clockDlg.h
?????文件???????4003??2012-10-28?15:12??鬧鐘\clock\clock\ReadMe.txt
?????文件??????21630??2005-08-12?16:37??鬧鐘\clock\clock\res\clock.ico
?????文件????????396??2012-10-28?15:12??鬧鐘\clock\clock\res\clock.rc2
?????文件????????769??2012-10-28?15:40??鬧鐘\clock\clock\resource.h
?????文件????????205??2012-10-28?15:12??鬧鐘\clock\clock\stdafx.cpp
?????文件???????2864??2012-10-28?15:12??鬧鐘\clock\clock\stdafx.h
?????文件????????880??2012-10-28?15:12??鬧鐘\clock\clock.sln
????..A..H.??????9728??2012-10-28?15:44??鬧鐘\clock\clock.suo
?????文件????3764780??2007-11-04?12:13??鬧鐘\clock\debug\clock.wav
?????目錄??????????0??2012-10-28?15:45??鬧鐘\clock\clock\Debug
?????目錄??????????0??2012-10-28?15:12??鬧鐘\clock\clock\res
?????目錄??????????0??2012-10-28?15:42??鬧鐘\clock\clock
?????目錄??????????0??2012-10-28?15:45??鬧鐘\clock\debug
?????目錄??????????0??2012-10-28?15:44??鬧鐘\clock
?????目錄??????????0??2012-10-28?15:12??鬧鐘
-----------?---------??----------?-----??----
??????????????3884744????????????????????23
- 上一篇:VC繪制正弦曲線,可調繪制周期數
- 下一篇:盤古分詞 工具
評論
共有 條評論