📄 rdmain.c
字号:
/*____________________________________________________________________________
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -