📄 clockdlg.h
字号:
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
// 嗨!我是王晓钰。
// 我的E-mail是:XiaoYu.wang@263.net 有问题可以发邮件或在网站上留言
// 欢迎你访问我的个人主页:“笑语小园”http://xiaoyu.2699.comn
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
// 二○○○年七月
// 让我们继续看我的程序。
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
// ClockDlg.h : header file
//
#if !defined(AFX_CLOCKDLG_H__FD517E55_A3A2_4542_8D26_2203A570385A__INCLUDED_)
#define AFX_CLOCKDLG_H__FD517E55_A3A2_4542_8D26_2203A570385A__INCLUDED_
#include "onfigDlg.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CClockDlg dialog
class CClockDlg : public CDialog
{
// Construction
public:
long miaobiao;
int speed;
int m_date;
int m_week;
int m_hour;
int m_minute;
ConfigDlg cdlg;
CClockDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CClockDlg)
enum { IDD = IDD_CLOCK_DIALOG };
CButton m_frame;
CString m_display;
CString m_miaobiao;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CClockDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void DrawClock();
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CClockDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButtonConfig();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnButtonMiaobiao();
afx_msg void OnButtonSpeed();
afx_msg void OnButtonBegin();
virtual void OnOK();
afx_msg void OnButtonEnd();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CLOCKDLG_H__FD517E55_A3A2_4542_8D26_2203A570385A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -