📄 clockdlg.h
字号:
// clockDlg.h : header file
//
#if !defined(AFX_CLOCKDLG_H__6119EE35_E060_47E5_8519_9A9278AB69DF__INCLUDED_)
#define AFX_CLOCKDLG_H__6119EE35_E060_47E5_8519_9A9278AB69DF__INCLUDED_
#include "BtnST.h" // Added by ClassView
#include "Notify.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <shellapi.h>
/////////////////////////////////////////////////////////////////////////////
// CClockDlg dialog
#define WM_NOTIFYICON (WM_APP+100)
class CClockDlg : public CDialog
{
// Construction
public:
int cs;
CStatic* date;
CTime t;
void CloseInfo();
void SdInfo();
void MbInfo();
CTime m_t;
int sl;
CEdit* E3;
CEdit* E2;
CEdit* E1;
CNotify nid;
CComboBox* combo;
CButtonST m_btn2;
CButtonST m_btn1;
CClockDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CClockDlg)
enum { IDD = IDD_CLOCK_DIALOG };
CString m_currettime;
int m_combo;
UINT m_h;
UINT m_m;
UINT m_s;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CClockDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CClockDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnSelchangeCombo();
afx_msg void OnDisplay();
afx_msg LRESULT OnNotifyIcon(WPARAM wParam,LPARAM lParam);
virtual void OnCancel();
afx_msg void OnAutoset();
afx_msg void OnManualset();
afx_msg void OnCanceltime();
//}}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__6119EE35_E060_47E5_8519_9A9278AB69DF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -