rdmain.c

来自「vc环境下的pgp源码」· C语言 代码 · 共 54 行

C
54
字号
/*____________________________________________________________________________
	Copyright (C) 1997 Network Associates Inc. and affiliated companies.
	All rights reserved.

	$Id: RDmain.c,v 1.15 1999/03/10 03:01:24 heller Exp $
____________________________________________________________________________*/

#include "RDprecmp.h"

// newPGPRecipientDialog
//
// Set up our custom dialog class and hook routines

UINT newPGPRecipientDialog(PRECGBL prg)
{
	BOOL ReturnValue = FALSE;
	WNDCLASS wndclass;

	memset(&wndclass,0x00,sizeof(WNDCLASS));

    wndclass.style = CS_HREDRAW | CS_VREDRAW;                     
    wndclass.lpfnWndProc = (WNDPROC)DefDlgProc; 
    wndclass.cbClsExtra = 0;              
    wndclass.cbWndExtra = DLGWINDOWEXTRA;              
    wndclass.hInstance = gPGPsdkUILibInst;       
    wndclass.hIcon = LoadIcon (gPGPsdkUILibInst, MAKEINTRESOURCE(IDI_DLGICON));
    wndclass.hCursor = LoadCursor (NULL, IDC_ARROW);
    wndclass.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); 
	wndclass.lpszMenuName = NULL;
	wndclass.lpszClassName = "PGPrecipClass";

	RegisterClass (&wndclass);

	ReturnValue = DialogBoxParam(gPGPsdkUILibInst, 
		MAKEINTRESOURCE( IDD_RECIPIENTDLG ),
		prg->mHwndParent, 
		(DLGPROC) RecipientDlgProc, 
		(LPARAM) prg);
 
    FreeLinkedLists(prg->gUserLinkedList);

    return ReturnValue;
}


/*__Editor_settings____

	Local Variables:
	tab-width: 4
	End:
	vi: ts=4 sw=4
	vim: si
_____________________*/

⌨️ 快捷键说明

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