?? cpropertypagelist.h
字號:
/*
CPropertyPageList.h
Luca Piergentili, 14/07/99
lpiergentili@yahoo.com
http://www.geocities.com/lpiergentili/
*/
#ifndef _CPROPERTYPAGELIST_H
#define _CPROPERTYPAGELIST_H 1
#include "window.h"
#include "CNodeList.h"
struct PROPERTYPAGE {
public:
PROPERTYPAGE(int idd = -1,void* page = (void*)NULL,CRuntimeClass* runtimeclass = (CRuntimeClass*)NULL)
{
this->idd = idd;
this->page = page;
this->runtimeclass = runtimeclass;
this->status = 0;
}
~PROPERTYPAGE() {}
int idd;
void* page;
CRuntimeClass* runtimeclass;
int status;
};
class CPropertyPageList : public CNodeList
{
public:
CPropertyPageList() {}
virtual ~CPropertyPageList() {CNodeList::DeleteAll();}
BOOL PreDelete(ITERATOR iter)
{
if((PROPERTYPAGE*)iter->data)
{
delete ((PROPERTYPAGE*)iter->data);
iter->data = (PROPERTYPAGE*)NULL;
}
return(TRUE);
}
#ifdef _DEBUG
const char* Signature(void) {return("CPropertyPageList");}
#endif
int Size(void) {return(-1);}
};
#endif // _CPROPERTYPAGELIST_H
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -