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

📄 optionsdlg.h

📁 一个很漂亮的数字时钟程序,你一定会喜欢的.
💻 H
字号:
#if !defined(AFX_OPTIONSDLG_H__C3616A8E_E723_11D4_852E_0080C879FB76__INCLUDED_)
#define AFX_OPTIONSDLG_H__C3616A8E_E723_11D4_852E_0080C879FB76__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// OptionsDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// COptionsDlg dialog

#include "mEdit.h"
	
class COptionsDlg : public CDialog
{
// Construction
public:
	COptionsDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(COptionsDlg)
	enum { IDD = IDD_OPTIONS };
	BOOL	m_bSetZOrder;
	int		m_iAlarmAM;
	BOOL	m_bSpeakClock;
	int		m_iStyle;
	BOOL	m_bAlarmActive;
	BOOL	m_bGrayLetters;
	int		m_iSpeakIntervals;
	int		m_iHoursRange;
	int		m_iSnap;
	//}}AFX_DATA

	CmEdit	m_EditAlarm;
	CString	m_sAlarm;
	UINT	m_uiCurrentClock;
	BOOL	m_b12HourBase;

	void SetCurrentClock();
	void SetAlarmTime();
	void AdjustAlarmTime();
	void HourRangeChange();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COptionsDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(COptionsDlg)
	afx_msg void OnCheckSetzorder();
	afx_msg BOOL OnApply();
	afx_msg void OnChangeEditAlarm();
	afx_msg void OnCheckSpeakclock();
	afx_msg void OnSelchangeComboAlarm();
	afx_msg void OnSelchangeComboStyles();
	afx_msg void OnCheckAlarmactive();
	afx_msg void OnCheckGrayletters();
	afx_msg void OnSelchangeComboIntervals();
	afx_msg void OnButtonChangetime();
	afx_msg void OnDestroy();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnRadioRange1();
	afx_msg void OnRadioRange2();
	afx_msg void OnRadioSnap1();
	afx_msg void OnRadioSnap2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_OPTIONSDLG_H__C3616A8E_E723_11D4_852E_0080C879FB76__INCLUDED_)

⌨️ 快捷键说明

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