copenfiledialog.h

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

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

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

#ifndef Included_COpenFileDialog_h	// [
#define Included_COpenFileDialog_h

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

_PGP_BEGIN

// Types

class CPath;


// Class COpenFileDialog

class COpenFileDialog
{
	NOT_COPYABLE(COpenFileDialog)

public:
	~COpenFileDialog() { }
	COpenFileDialog() { }

	void	Choose(HWND parentWnd, CPath& path, 
		const char *defaultPath = NULL, const char *title = NULL, 
		const char *filter = NULL, const char *defaultExt = NULL);

private:
	OPENFILENAME	mOfn;

	static UINT CALLBACK	OpenDialogHookProc(HWND hdlg, UINT uiMsg, 
		WPARAM wParam, LPARAM lParam);
};

_PGP_END

#endif	// ] Included_COpenFileDialog_h

⌨️ 快捷键说明

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