settimerdlg.h

来自「windows小帮手,vc6.0开发的,有点小问题」· C头文件 代码 · 共 87 行

H
87
字号
#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 + =
减小字号Ctrl + -
显示快捷键?