analogclockdlg.h

来自「WINCE下模拟时钟的显示」· C头文件 代码 · 共 60 行

H
60
字号
// AnalogClockDlg.h : header file
//

#if !defined(AFX_ANALOGCLOCKDLG_H__7B1A7AE8_AA6A_4118_820C_D81AB738A92A__INCLUDED_)
#define AFX_ANALOGCLOCKDLG_H__7B1A7AE8_AA6A_4118_820C_D81AB738A92A__INCLUDED_

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

#include "ClockCtl.h"
/////////////////////////////////////////////////////////////////////////////
// CAnalogClockDlg dialog

class CAnalogClockDlg : public CDialog
{
// Construction
public:
	CAnalogClockDlg(CWnd* pParent = NULL);	// standard constructor
  	void ShowWindows(BOOL bShow);
// Dialog Data
	//{{AFX_DATA(CAnalogClockDlg)
	enum { IDD = IDD_ANALOGCLOCK_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA
    CClockCtl m_Clock;
	int check_select;
 	SYSTEMTIME Ajust_Time;
	BOOL Adjust_Flag;
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAnalogClockDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
    CEdit m_Edit;
	CString m_String;
	CButton m_BtnAdjust,m_BtnAdd,m_BtnDec;
	CButton m_RadioSecond,m_RadioMinute,m_RadioHour;
	// Generated message map functions
	//{{AFX_MSG(CAnalogClockDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnAdd();
	afx_msg void OnDec();
	afx_msg void OnRadiosecond();
	afx_msg void OnRadiominute();
	afx_msg void OnRadiohour();
	afx_msg void OnAdjust();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ANALOGCLOCKDLG_H__7B1A7AE8_AA6A_4118_820C_D81AB738A92A__INCLUDED_)

⌨️ 快捷键说明

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