MFC vc++ 指针时钟 闹钟,非常好用。 模拟机械表的运行。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-12-27 23:36 Clock MFC闹钟
目录 0 2016-12-27 23:32 Clock MFC闹钟Debug
文件 20199 2012-03-04 17:02 Clock MFC闹钟DebugST.obj
文件 106829 2012-03-11 15:33 Clock MFC闹钟DebugStdAfx.obj
文件 1374987 2012-03-04 14:01 Clock MFC闹钟DebugStdAfx.sbr
文件 3671040 2012-03-04 16:01 Clock MFC闹钟Debugclock.bsc
文件 118858 2012-03-11 15:33 Clock MFC闹钟Debugclock.exe
文件 239372 2012-03-11 15:33 Clock MFC闹钟Debugclock.ilk
文件 13006 2012-03-11 15:33 Clock MFC闹钟Debugclock.obj
文件 5636524 2012-03-11 15:33 Clock MFC闹钟Debugclock.pch
文件 312320 2012-03-11 15:33 Clock MFC闹钟Debugclock.pdb
文件 3848 2012-03-11 15:33 Clock MFC闹钟Debugclock.res
文件 0 2012-03-04 15:48 Clock MFC闹钟Debugclock.sbr
文件 203 2012-03-10 13:56 Clock MFC闹钟Debugclock.sln
文件 7680 2012-03-10 13:56 Clock MFC闹钟Debugclock.suo
文件 46764 2012-03-11 15:33 Clock MFC闹钟DebugclockDlg.obj
文件 0 2012-03-04 15:52 Clock MFC闹钟DebugclockDlg.sbr
文件 11785 2012-03-04 14:01 Clock MFC闹钟Debugmenu.obj
文件 0 2012-03-04 14:01 Clock MFC闹钟Debugmenu.sbr
文件 839 2012-03-04 16:04 Clock MFC闹钟Debugmenu2.sbr
文件 26281 2012-03-11 15:33 Clock MFC闹钟Debugsetclock.obj
文件 12443 2012-03-11 15:33 Clock MFC闹钟Debugsetcolor.obj
文件 12275 2012-03-11 15:33 Clock MFC闹钟Debugsettime.obj
文件 0 2012-03-04 16:01 Clock MFC闹钟Debugsettime.sbr
文件 214016 2012-03-11 15:33 Clock MFC闹钟Debugvc60.idb
文件 397312 2012-03-11 15:33 Clock MFC闹钟Debugvc60.pdb
文件 3561 2012-02-29 14:20 Clock MFC闹钟ReadMe.txt
文件 376 2012-03-11 14:46 Clock MFC闹钟StdAfx.cpp
文件 1287 2012-03-11 14:46 Clock MFC闹钟StdAfx.h
文件 23336 2016-12-27 23:35 Clock MFC闹钟clock.aps
文件 2997 2016-12-27 23:36 Clock MFC闹钟clock.clw
............此处省略20个文件信息
// clock.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “clock.h“
#include “clockDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CClockApp
BEGIN_MESSAGE_MAP(CClockApp CWinApp)
//{{AFX_MSG_MAP(CClockApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// 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()
{
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
CClockDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-12-27 23:36 Clock MFC闹钟
目录 0 2016-12-27 23:32 Clock MFC闹钟Debug
文件 20199 2012-03-04 17:02 Clock MFC闹钟DebugST.obj
文件 106829 2012-03-11 15:33 Clock MFC闹钟DebugStdAfx.obj
文件 1374987 2012-03-04 14:01 Clock MFC闹钟DebugStdAfx.sbr
文件 3671040 2012-03-04 16:01 Clock MFC闹钟Debugclock.bsc
文件 118858 2012-03-11 15:33 Clock MFC闹钟Debugclock.exe
文件 239372 2012-03-11 15:33 Clock MFC闹钟Debugclock.ilk
文件 13006 2012-03-11 15:33 Clock MFC闹钟Debugclock.obj
文件 5636524 2012-03-11 15:33 Clock MFC闹钟Debugclock.pch
文件 312320 2012-03-11 15:33 Clock MFC闹钟Debugclock.pdb
文件 3848 2012-03-11 15:33 Clock MFC闹钟Debugclock.res
文件 0 2012-03-04 15:48 Clock MFC闹钟Debugclock.sbr
文件 203 2012-03-10 13:56 Clock MFC闹钟Debugclock.sln
文件 7680 2012-03-10 13:56 Clock MFC闹钟Debugclock.suo
文件 46764 2012-03-11 15:33 Clock MFC闹钟DebugclockDlg.obj
文件 0 2012-03-04 15:52 Clock MFC闹钟DebugclockDlg.sbr
文件 11785 2012-03-04 14:01 Clock MFC闹钟Debugmenu.obj
文件 0 2012-03-04 14:01 Clock MFC闹钟Debugmenu.sbr
文件 839 2012-03-04 16:04 Clock MFC闹钟Debugmenu2.sbr
文件 26281 2012-03-11 15:33 Clock MFC闹钟Debugsetclock.obj
文件 12443 2012-03-11 15:33 Clock MFC闹钟Debugsetcolor.obj
文件 12275 2012-03-11 15:33 Clock MFC闹钟Debugsettime.obj
文件 0 2012-03-04 16:01 Clock MFC闹钟Debugsettime.sbr
文件 214016 2012-03-11 15:33 Clock MFC闹钟Debugvc60.idb
文件 397312 2012-03-11 15:33 Clock MFC闹钟Debugvc60.pdb
文件 3561 2012-02-29 14:20 Clock MFC闹钟ReadMe.txt
文件 376 2012-03-11 14:46 Clock MFC闹钟StdAfx.cpp
文件 1287 2012-03-11 14:46 Clock MFC闹钟StdAfx.h
文件 23336 2016-12-27 23:35 Clock MFC闹钟clock.aps
文件 2997 2016-12-27 23:36 Clock MFC闹钟clock.clw
............此处省略20个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)