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

📄 cpgpkeypicker.h

📁 PGP8.0源码 请认真阅读您的文件包然后写出其具体功能
💻 H
字号:
/*____________________________________________________________________________
		Copyright (C) 2002 PGP Corporation
        All rights reserved.

        $Id: CPGPKeyPicker.h,v 1.3 2002/08/06 20:09:23 dallen Exp $
____________________________________________________________________________*/

#ifndef Included_CPGPKeyPicker_h	// [
#define Included_CPGPKeyPicker_h

#include "CDialog.h"
#include "CStatic.h"

#include "CPublicKeysView.h"

_PGP_BEGIN

// Types

class CPGPdiskContext;
class CPGPKeySet;


// Class CPGPKeyPicker

class CPGPKeyPicker : public CDialog
{
public:
	CPGPKeyPicker();
	~CPGPKeyPicker();

	PGPUInt16	GetDialogId() const;

	void	Display(const CPGPdiskContext& context, HWND parent, 
		const char *title, const char *message, const CPGPKeySet& inKeys, 
		CPGPKeySet& pickedKeys, PGPBoolean singleSelect = FALSE);

private:
	CPublicKeysView	mKeysView;
	CStatic			mPickText;

	const CPGPdiskContext	*mPContext;
	const CPGPKeySet		*mPInKeys;
	CPGPKeySet				*mPPickedKeys;

	const char	*mTitle;
	const char	*mMessage;
	PGPBoolean	mSingleSelect;

	void	InitControls();
	void	InitDialogText();
	void	OnOk();

	void		OnContextMenu(HWND menuWnd, CPoint coords);
	void		OnHelp(HELPINFO *pInfo);
	BOOL		OnInitDialog(HWND focusCtrl);
	PGPUInt32	OnNotify(PGPUInt16 ctrlId, LPNMHDR pNMHDR);
};

_PGP_END

#endif	// ] Included_CPGPKeyPicker_h

⌨️ 快捷键说明

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