high_quality_timer.h

来自「这是书上的代码」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_HIGH_QUALITY_TIMER_H__0D8D8CDA_F8E6_4C0D_9C3C_9364AABB9ED9__INCLUDED_)
#define AFX_HIGH_QUALITY_TIMER_H__0D8D8CDA_F8E6_4C0D_9C3C_9364AABB9ED9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.

/////////////////////////////////////////////////////////////////////////////
// CHigh_Quality_Timer wrapper class

class CHigh_Quality_Timer : public CWnd
{
protected:
	DECLARE_DYNCREATE(CHigh_Quality_Timer)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x262a73c, 0xe38e, 0x4377, { 0x80, 0x2f, 0xef, 0xa2, 0xd6, 0x40, 0xcf, 0xe7 } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:
	long GetInterval();
	void SetInterval(long);
	BOOL GetEnable();
	void SetEnable(BOOL);

// Operations
public:
	void AboutBox();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_HIGH_QUALITY_TIMER_H__0D8D8CDA_F8E6_4C0D_9C3C_9364AABB9ED9__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?