cpropertysheet.h

来自「可以实现对邮件的加密解密以及签名」· C头文件 代码 · 共 57 行

H
57
字号
/*____________________________________________________________________________
		Copyright (C) 2002 PGP Corporation
        All rights reserved.

        $Id: CPropertySheet.h,v 1.4 2002/08/06 20:10:46 dallen Exp $
____________________________________________________________________________*/

#ifndef Included_CPropertySheet_h	// [
#define Included_CPropertySheet_h

#include "pgpClassesConfig.h"
#include <prsht.h>

#include "CArray.h"
#include "CList.h"

_PGP_BEGIN

// Types

class CPropertyPage;


// Class CPropertySheet

class CPropertySheet
{
	NOT_COPYABLE(CPropertySheet)

public:
	CPropertySheet();
	~CPropertySheet();

	void	AddPage(CPropertyPage *pPage);
	void	RemovePage(CPropertyPage *pPage);
	void	ClearPages();

	virtual void	Create(HWND parent, PGPBoolean isWizard = FALSE);

protected:
	PROPSHEETHEADER	mPSH;

	virtual void	PreCreateHook() { }

private:
	CList<CWindow>			mPageList;
	CArray<HPROPSHEETPAGE>	mPageArray;
	PGPUInt32				mNumPages;

	CComboError	mError;
	PGPBoolean	mSkipConfirmCancel;
};

_PGP_END

#endif	// ] Included_CPropertySheet_h

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?