91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 511KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-05
  • 語言: 其他
  • 標簽: 定時器??

資源簡介

windows下的settimer是一個毫秒級的定時器,但是有時候我們需要更加精確的定時器功能,這個例子可以幫我們了解windows下的微妙級的定時器的用法

資源截圖

代碼片段和文件信息

//?Multi_Timer.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“Multi_Timer.h“
#include?“Multi_TimerDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CMulti_TimerApp

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

/////////////////////////////////////////////////////////////////////////////
//?CMulti_TimerApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMulti_TimerApp?object

CMulti_TimerApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CMulti_TimerApp?initialization

BOOL?CMulti_TimerApp::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

CMulti_TimerDlg?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;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????38684??2006-06-22?00:37??七種定時器\七種定時器\MultiTimerDemo\Multi_Timer.aps

?????文件???????2133??2004-11-19?14:32??七種定時器\七種定時器\MultiTimerDemo\Multi_Timer.cpp

?????文件???????4287??2004-11-19?15:49??七種定時器\七種定時器\MultiTimerDemo\Multi_Timer.dsp

?????文件????????547??2004-11-19?14:32??七種定時器\七種定時器\MultiTimerDemo\Multi_Timer.dsw

?????文件???????1379??2004-11-19?14:32??七種定時器\七種定時器\MultiTimerDemo\Multi_Timer.h

?????文件??????58368??2006-06-22?01:36??七種定時器\七種定時器\MultiTimerDemo\Multi_Timer.ncb

?????文件??????53760??2006-06-22?01:36??七種定時器\七種定時器\MultiTimerDemo\Multi_Timer.opt

?????文件???????1173??2006-06-22?01:12??七種定時器\七種定時器\MultiTimerDemo\Multi_Timer.plg

?????文件???????6991??2006-06-22?00:37??七種定時器\七種定時器\MultiTimerDemo\Multi_Timer.rc

?????文件??????15996??2006-06-22?01:12??七種定時器\七種定時器\MultiTimerDemo\Multi_TimerDlg.cpp

?????文件???????2429??2004-11-19?19:30??七種定時器\七種定時器\MultiTimerDemo\Multi_TimerDlg.h

?????文件???????3669??2004-11-19?14:32??七種定時器\七種定時器\MultiTimerDemo\ReadMe.txt

?????文件???????1078??2004-11-19?14:32??七種定時器\七種定時器\MultiTimerDemo\res\Multi_Timer.ico

?????文件????????403??2004-11-19?14:32??七種定時器\七種定時器\MultiTimerDemo\res\Multi_Timer.rc2

?????文件?????490618??2010-08-05?23:56??七種定時器\七種定時器\MultiTimerDemo\res.res

?????文件???????1701??2004-11-19?16:43??七種定時器\七種定時器\MultiTimerDemo\Resource.h

?????文件????????213??2004-11-19?14:32??七種定時器\七種定時器\MultiTimerDemo\StdAfx.cpp

?????文件???????1075??2004-11-19?15:44??七種定時器\七種定時器\MultiTimerDemo\StdAfx.h

?????文件????????811??2004-11-19?20:08??七種定時器\七種定時器\MultiTimerDemo\timer1說明.txt

?????文件????????110??2004-11-19?19:47??七種定時器\七種定時器\MultiTimerDemo\timer2說明.txt

?????文件???????3542??2004-11-19?20:08??七種定時器\七種定時器\MultiTimerDemo\timer3說明.txt

?????文件???????3784??2004-11-19?20:08??七種定時器\七種定時器\MultiTimerDemo\timer4說明.txt

?????文件????????127??2004-11-19?20:17??七種定時器\七種定時器\MultiTimerDemo\timer5說明.txt

?????文件???????2467??2004-11-19?20:27??七種定時器\七種定時器\MultiTimerDemo\timer6說明.txt

?????文件???????5760??2004-11-19?20:35??七種定時器\七種定時器\MultiTimerDemo\timer7說明.txt

?????目錄??????????0??2010-08-06?00:03??七種定時器\七種定時器\MultiTimerDemo\res

?????目錄??????????0??2010-08-06?00:03??七種定時器\七種定時器\MultiTimerDemo

?????目錄??????????0??2010-08-06?00:03??七種定時器\七種定時器

?????目錄??????????0??2010-08-06?00:03??七種定時器

-----------?---------??----------?-----??----

............此處省略2個文件信息

評論

共有 條評論