⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zlistproperties.h

📁 sybain下的手机编程源码,类似windows下的资源管理器
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -