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

📄 settimerdlg.h

📁 希望这个对大家有所帮助
💻 H
字号:
#if !defined(AFX_SETTIMERDLG_H__DF1E1834_14AC_4A26_B87F_1EF5F51917E9__INCLUDED_)
#define AFX_SETTIMERDLG_H__DF1E1834_14AC_4A26_B87F_1EF5F51917E9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SettimerDlg.h : header file
//

#include "resource.h"

/////////////////////////////////////////////////////////////////////////////
// CSettimerDlg dialog
typedef struct thingtoremind
{
	int nTotal;
	BOOL bUrgent;
	char strThing[512];
//	char strTime[512];//just for test
	int nYear;
	int nMonth;
	int nDay;
	int nHour;
	int nMinute;
	int nSecond;
	int nSetYear;
	int nSetMonth;
	int nSetDay;
	int nSetHour;
	int nSetMinute;
	int nSetSecond;
}THINGTOREMIND, *PTHINGTOREMIND;

#define JOBTYPE_NORMAL 0
#define JOBTYPE_URGENT 1

class CSettimerDlg : public CDialog
{
// Construction
public:
	CImageList *m_pImageList;
	BOOL m_bNewThingAdd;
	CSettimerDlg(CWnd* pParent = NULL);   // standard constructor
	~CSettimerDlg();
	THINGTOREMIND m_structThing;

// Dialog Data
	//{{AFX_DATA(CSettimerDlg)
	enum { IDD = IDD_SETTIMER };
	CListCtrl	m_ctrlJobList;
	int		m_nHour;
	int		m_nMinute;
	int		m_nSecond;
	CString	m_strThingToRemind;
	BOOL	m_bUrgent;
	int		m_nMonth;
	int		m_nDay;
	int		m_nYear;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSettimerDlg)
	afx_msg void OnRemove();
	afx_msg void OnAdd();
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnModify();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SETTIMERDLG_H__DF1E1834_14AC_4A26_B87F_1EF5F51917E9__INCLUDED_)

⌨️ 快捷键说明

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