aclock.h

来自「《Visual C/C++图形图像与游戏编程典型实例解析》配套源代码」· C头文件 代码 · 共 36 行

H
36
字号
// AClock.h : AClock 应用程序的主头文件
//
#pragma once

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // 主符号


// CAClockApp:
// 有关此类的实现,请参阅 AClock.cpp
//

class CAClockApp : public CWinApp
{
public:
	CAClockApp();

	//模拟时钟
	GdiplusStartupInput m_GdippStart;
	ULONG_PTR m_GdippToken;

// 重写
public:
	virtual BOOL InitInstance();

// 实现
	afx_msg void OnAppAbout();
	DECLARE_MESSAGE_MAP()
	virtual int ExitInstance();
};

extern CAClockApp theApp;

⌨️ 快捷键说明

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