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

📄 timedlg.h

📁 一个vc的电子时钟的程序!!实现基本的时钟功能。
💻 H
字号:
// timeDlg.h : header file
//

#if !defined(AFX_TIMEDLG_H__DD35CA8A_15F4_479A_B7FA_AC962AAD7E1C__INCLUDED_)
#define AFX_TIMEDLG_H__DD35CA8A_15F4_479A_B7FA_AC962AAD7E1C__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CTimeDlg dialog

class CTimeDlg : public CDialog
{
// Construction
public:
	double AverageRandom(double,double);
	int m_tra;
	CToolBar m_bar;
	void ontopwindows();
	//void ontopwindow;
	int tcurr;
	int tnow;
    CString str;
	BOOL m_bool;
	CTimeDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTimeDlg)
	enum { IDD = IDD_TIME_DIALOG };
	CComboBox	m_str;
	int		m_time;
	CString	m_curtime;
	UINT	m_suiji;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTimeDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	BOOL m_change;
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTimeDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnApply();
	afx_msg void OnButton2();
	afx_msg void OnAll();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSelchangeCombo2();
	afx_msg void OnSuiji();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TIMEDLG_H__DD35CA8A_15F4_479A_B7FA_AC962AAD7E1C__INCLUDED_)

⌨️ 快捷键说明

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