mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
839 B
38 lines
839 B
/*--------------------------------------------------------------------------*
|
|
*
|
|
* Microsoft Windows
|
|
* Copyright (C) Microsoft Corporation, 1992 - 00
|
|
*
|
|
* File: kbdnav.h
|
|
*
|
|
* Contents: Interface file for CKeyboardNavDelayTimer
|
|
*
|
|
* History: 4-May-2000 jeffro Created
|
|
*
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef DBG
|
|
extern CTraceTag tagKeyboardNavDelay;
|
|
#endif
|
|
|
|
class CKeyboardNavDelayTimer
|
|
{
|
|
public:
|
|
typedef std::map<UINT_PTR, CKeyboardNavDelayTimer*> CTimerMap;
|
|
|
|
CKeyboardNavDelayTimer();
|
|
~CKeyboardNavDelayTimer();
|
|
|
|
SC ScStartTimer();
|
|
SC ScStopTimer();
|
|
virtual void OnTimer() = 0;
|
|
|
|
private:
|
|
static VOID CALLBACK TimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime);
|
|
static CTimerMap& GetTimerMap();
|
|
|
|
private:
|
|
UINT_PTR m_nTimerID;
|
|
};
|