calendarlog.h
来自「wince5.0下的计算器程序,对初学wince的朋友很有帮助,arm9平台下的」· C头文件 代码 · 共 37 行
H
37 行
#ifndef _CDRLOG
#define _CDRLOG
typedef struct _CRLOG
{
int LID;//索引号
TCHAR rename[30];//日程主题
TCHAR redate[11];//日程的安排日期
TCHAR retime[9];//闹铃的时间,只在需要闹铃时使用
int bAlarm;//是否闹铃 0:不开启闹铃默认状态,非0开启闹铃
TCHAR reinfo[200];//日程事务说明文字
}CRLog;
#include <afxtempl.h>
class CJCRLog
{
public:
BOOL FindForIndex(CRLog &redata,int nindex);
int GetLogNumCount();
int GetFreeID();
BOOL InitCalendarInof();
BOOL CAReplace(int nrep,CRLog newdata);
BOOL DelLog(int ndel);
BOOL AddLog(CRLog newdata);
BOOL CAFind(CRLog &fdata,int findex);
CString GetCalendarDateStr();
CJCRLog();
~CJCRLog();
private:
CList<CRLog,CRLog&> crlist;
protected:
BOOL SaveListInFile();
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?