ztreeproperties.h
来自「Symbian手机智能操作系统下的源码,图像查看软件,支持十几种图形格式.」· C头文件 代码 · 共 52 行
H
52 行
// zTreeProperties.h: interface for the zTreeProperties class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ZTREEPROPERTIES_H__5B6AE93F_3C9E_4AE1_9DCB_3F8DB5F2266D__INCLUDED_)
#define AFX_ZTREEPROPERTIES_H__5B6AE93F_3C9E_4AE1_9DCB_3F8DB5F2266D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "zcontrol.h"
#include "zFile.h"
#include <vector>
using namespace std;
class zTreeProperties
{
typedef struct _ItemProperties
{
int nType;
TCHAR szTitle[20];
TCHAR szName[MAX_PATH];
long nParam;
_ItemProperties()
{
memset(this,0,sizeof(_ItemProperties));
}
}ITEMPROPERTIES;
vector<ITEMPROPERTIES> vProperties;
public:
zTreeProperties();
virtual ~zTreeProperties();
public:
int Save(zFile * pFile);
int Load(zFile * pFile);
//属性操作
int GetSize();
void ResetProperties();
int DeleteProperties(int n);
//对结构操作
int AddProperties(int nType,TCHAR * pTitle,TCHAR * pName=NULL,long nParam=0);
int GetType(int n);
TCHAR * GetTitle(int n);
TCHAR * GetName(int n);
long GetParam(int n);
};
#endif // !defined(AFX_ZTREEPROPERTIES_H__5B6AE93F_3C9E_4AE1_9DCB_3F8DB5F2266D__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?