📄 timerecorddlg.h
字号:
// timerecordDlg.h : header file
//
#if !defined(AFX_TIMERECORDDLG_H__909A23B4_E3AA_4843_8B4D_9CAA85338B82__INCLUDED_)
#define AFX_TIMERECORDDLG_H__909A23B4_E3AA_4843_8B4D_9CAA85338B82__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//用户行为
#define WM_MAX_XC (WM_USER+1)
#define WM_SHOWTASK (WM_USER+2)
/////////////////////////////////////////////////////////////////////////////
// CTimerecordDlg dialog
//用户结构体
struct XC_DATE
{
bool run;
CStringArray id;
HWND m_xc;
};
//线程定义
UINT xc_check(LPVOID pParam);
class CTimerecordDlg : public CDialog
{
// Construction
public:
void running (WPARAM wParam, LPARAM lParam);
void initADDorEDIT();
void showWideToListCtrl(CString sql,int flag);
CTimerecordDlg(CWnd* pParent = NULL); // standard constructor
CStringArray fields,m_fields;
XC_DATE m_xc_date;
CWinThread* Thread;
CStringArray id;
bool showmsg;
NOTIFYICONDATA nid;
// Dialog Data
//{{AFX_DATA(CTimerecordDlg)
enum { IDD = IDD_TIMERECORD_DIALOG };
CListCtrl m_list;
CTime m_date;
CTime m_time;
BOOL m_use;
int m_radio;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTimerecordDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CTimerecordDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnButtonAddEdit();
afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRclickList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnMenuitemDelrecord();
afx_msg void OnRadio1();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg LRESULT onShowTask(WPARAM wParam,LPARAM lParam);
afx_msg void OnMenuitemAbout();
afx_msg void OnMenuitemShowframe();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TIMERECORDDLG_H__909A23B4_E3AA_4843_8B4D_9CAA85338B82__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -