⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clock.h

📁 深入浅出Visual C++入门进阶与应用实例 随书光盘 作者 何志丹
💻 H
字号:
#if !defined(AFX_CLOCK_H__A7077AE6_032C_4791_969D_F8F97D08A7F1__INCLUDED_)
#define AFX_CLOCK_H__A7077AE6_032C_4791_969D_F8F97D08A7F1__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.

/////////////////////////////////////////////////////////////////////////////
// CClock wrapper class

class CClock : public CWnd
{
protected:
	DECLARE_DYNCREATE(CClock)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x12d53c7a, 0xf9e0, 0x41a0, { 0xb6, 0x61, 0xf5, 0x22, 0xbd, 0x2, 0x35, 0x63 } };
		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 GetCrBkColor();
	void SetCrBkColor(long);
	long GetCrHourPointerColor();
	void SetCrHourPointerColor(long);
	long GetCrMinutePointerColor();
	void SetCrMinutePointerColor(long);
	long GetCrSecondPointerColor();
	void SetCrSecondPointerColor(long);

// Operations
public:
	BOOL SetAlarmClock(short nHour, short nMinute, short nSecond);
	void AboutBox();
};

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

#endif // !defined(AFX_CLOCK_H__A7077AE6_032C_4791_969D_F8F97D08A7F1__INCLUDED_)

⌨️ 快捷键说明

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