calendarinfo.h

来自「wince5.0下的计算器程序,对初学wince的朋友很有帮助,arm9平台下的」· C头文件 代码 · 共 75 行

H
75
字号
#if !defined(AFX_CALENDARINFO_H__905AB32D_E03D_4F64_8614_C7B7719E6CDA__INCLUDED_)
#define AFX_CALENDARINFO_H__905AB32D_E03D_4F64_8614_C7B7719E6CDA__INCLUDED_

#include "..\CONCTRL\JStatic.h"	// Added by ClassView
#include "..\CONCTRL\JButton.h"	// Added by ClassView
#include "CalendarLog.h"	// Added by ClassView

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

/////////////////////////////////////////////////////////////////////////////
// CCalendarinfo dialog

class CCalendarinfo : public CDialog
{
// Construction
public:
	CCalendarinfo(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CCalendarinfo)
	enum { IDD = IDD_CALENDARINFO };
	CDateTimeCtrl	m_caltime;
	CDateTimeCtrl	m_caldate;
	//}}AFX_DATA


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

// Implementation
protected: //ghghghgh
//	CJStatic m_ststate;
	void EnableConctrl(BOOL nval);
	void InitContrl();
	void OnOK();
	void ClearCalendarInfo();
	BOOL SaveNewInfo();
	void ShowLogInfo();
	CJButton m_butcancel;
	CJButton m_butdel;
	CJButton m_butadd;
	CJStatic m_stdate;
	CJStatic m_stmotif;
	CJStatic m_stneir;
	CJCRLog m_crinfo;
	BOOL m_blsaves;

	CJButton m_butKJ;

	// Generated message map functions
	//{{AFX_MSG(CCalendarinfo)
	virtual BOOL OnInitDialog();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnButadd();
	afx_msg void OnButdel();
	afx_msg void OnButcancel();
	afx_msg void OnChalarm();
	afx_msg void OnClickCalendarlist(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CALENDARINFO_H__905AB32D_E03D_4F64_8614_C7B7719E6CDA__INCLUDED_)

⌨️ 快捷键说明

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