zlistproperties.h
来自「Symbian手机智能操作系统下的源码,图像查看软件,支持十几种图形格式.」· C头文件 代码 · 共 50 行
H
50 行
// zListProperties.h: interface for the zListProperties class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ZLISTPROPERTIES_H__F2F05DEC_2687_41A8_AB70_85ED2FCC0118__INCLUDED_)
#define AFX_ZLISTPROPERTIES_H__F2F05DEC_2687_41A8_AB70_85ED2FCC0118__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "zcontrol.h"
#include "zFile.h"
#include <vector>
using namespace std;
class zListProperties
{
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:
zListProperties();
virtual ~zListProperties();
public:
//属性操作
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_ZLISTPROPERTIES_H__F2F05DEC_2687_41A8_AB70_85ED2FCC0118__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?