alarm.h

来自「一个很漂亮的数字时钟程序,你一定会喜欢的.」· C头文件 代码 · 共 64 行

H
64
字号
// Alarm.h : main header file for the ALARM application
//

#if !defined(AFX_ALARM_H__F86ECB60_E71F_11D4_852E_0080C879FB76__INCLUDED_)
#define AFX_ALARM_H__F86ECB60_E71F_11D4_852E_0080C879FB76__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

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

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CAlarmApp:
// See Alarm.cpp for the implementation of this class
//

/*
	Declare our application class based on CWinApp.
*/
class CAlarmApp : public CWinApp
{
public:
	CAlarmApp();

	BOOL	m_bWindowIsTopmost;
	int		m_iClock24Hour, m_iClockMinute, m_iClockSecond;
	int		m_iAlarm24Hour, m_iAlarmMinute;
	BOOL	m_bSpeakClock;
	int		m_iStyle;
	BOOL	m_bAlarmActive;
	BOOL	m_bGrayLetters;
	int		m_iSpeakIntervals;
	int		m_xPos, m_yPos;
	BOOL	m_b12HourBase;
	int		m_iSnap;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAlarmApp)
	public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CAlarmApp)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ALARM_H__F86ECB60_E71F_11D4_852E_0080C879FB76__INCLUDED_)

⌨️ 快捷键说明

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