📄 mymessage.h
字号:
#if !defined(AFX_MYMESSAGE_H__862FAB61_61DC_43F4_9BA3_FE7D4BF7551E__INCLUDED_)
#define AFX_MYMESSAGE_H__862FAB61_61DC_43F4_9BA3_FE7D4BF7551E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyMessage.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMyMessage frame with splitter
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class CMyMessage
{
// Construction
public:
CMyMessage();
CString GetPlan();
CTime GetPlanTime();
CTime GetPlanDate();
int GetPri();
void SetPlan(CString strInput);
void SetPlanTime(CTime tInput);
void SetPlanDate(CTime tInput);
void SetPlanPri(int nPri); //设置事件的优先级
CArray<CTime,CTime> m_TimeList;
CStringArray m_strPlanArray;
CArray<int,int> m_nRemainTimeList;
CArray<int,int> m_nModeList;
private:
int m_nMode;
CString strPlan; //事件内容
CTime tTime; //事件时间
CTime tDate; //事件日期
int nPri; //事件优先级
public:
CStringArray m_strModeList;
void SetMode(int nMode);
int GetMode();
virtual ~CMyMessage();
};
#endif // !defined(AFX_MYMESSAGE_H__862FAB61_61DC_43F4_9BA3_FE7D4BF7551E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -