?? ztreeproperties.h
字號:
// 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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -