[Winpt-commits] r355 - trunk/Src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sat Dec 3 19:59:04 CET 2011
Author: twoaday
Date: 2011-12-03 19:59:01 +0100 (Sat, 03 Dec 2011)
New Revision: 355
Added:
trunk/Src/WinPTRes.rc
Modified:
trunk/Src/ChangeLog
trunk/Src/Makefile.am
trunk/Src/WinPT.cpp
trunk/Src/versioninfo.rc.in
trunk/Src/wptGPG.cpp
trunk/Src/wptW32API.cpp
Log:
2011-12-04 Timo Schulz <twoaday at gmx.net>
* WinPT.cpp (get_file_version): New.
Improved error handling.
Modified: trunk/Src/ChangeLog
===================================================================
--- trunk/Src/ChangeLog 2011-12-03 18:21:17 UTC (rev 354)
+++ trunk/Src/ChangeLog 2011-12-03 18:59:01 UTC (rev 355)
@@ -1,3 +1,8 @@
+2011-12-04 Timo Schulz <twoaday at gmx.net>
+
+ * WinPT.cpp (get_file_version): New.
+ Improved error handling.
+
2011-12-01 Timo Schulz <twoaday at gmx.net>
* wptGroupsDlg.cpp: Removed.
Modified: trunk/Src/Makefile.am
===================================================================
--- trunk/Src/Makefile.am 2011-12-03 18:21:17 UTC (rev 354)
+++ trunk/Src/Makefile.am 2011-12-03 18:59:01 UTC (rev 355)
@@ -23,7 +23,7 @@
resource_files = \
resource.h \
- _WinPT.rc \
+ WinPTRes.rc \
versioninfo.rc
dialog_files = \
Modified: trunk/Src/WinPT.cpp
===================================================================
--- trunk/Src/WinPT.cpp 2011-12-03 18:21:17 UTC (rev 354)
+++ trunk/Src/WinPT.cpp 2011-12-03 18:59:01 UTC (rev 355)
@@ -50,6 +50,51 @@
/* End */
+/* Retrieve the product verion of the given file @fname.
+ Format: MAJOR.MINOR.PATCH1.PATCH2
+ Return value: 0 on success. */
+int
+get_file_version (const char *fname, WORD *major, WORD *minor, WORD *patch1, WORD *patch2)
+{
+ VS_FIXEDFILEINFO *inf;
+ char file[MAX_PATH+1] = {0};
+ LPVOID buf, data;
+ DWORD size;
+ UINT qlen;
+ int err = 0;
+
+ strncpy (file, fname, MAX_PATH);
+ size = GetFileVersionInfoSize (file, NULL);
+ if (!size)
+ return -1;
+
+ buf = (LPVOID)new char[size];
+ if (!buf)
+ BUG (NULL);
+ if (!GetFileVersionInfo (file, 0, size, buf)) {
+ err = -1;
+ goto fail;
+ }
+
+ qlen = 0;
+ VerQueryValue (buf, (char*)"\\", &data, &qlen);
+ if (!qlen) {
+ err = -1;
+ goto fail;
+ }
+
+ inf = (VS_FIXEDFILEINFO*)data;
+ *major = HIWORD (inf->dwProductVersionMS);
+ *minor = LOWORD (inf->dwProductVersionMS);
+ *patch1 = HIWORD (inf->dwProductVersionLS);
+ *patch2 = LOWORD (inf->dwProductVersionLS);
+
+fail:
+ delete [](char*)buf;
+ return err;
+}
+
+
/* Load the key cache and rebuild the signature cache. */
int
update_keycache (HWND hwnd)
Added: trunk/Src/WinPTRes.rc
===================================================================
--- trunk/Src/WinPTRes.rc 2011-12-03 18:21:17 UTC (rev 354)
+++ trunk/Src/WinPTRes.rc 2011-12-03 18:59:01 UTC (rev 355)
@@ -0,0 +1,2240 @@
+//Microsoft Developer Studio generated resource script.
+//
+#include "resource.h"
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#include "afxres.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// Deutsch (Deutschland) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)
+#ifdef _WIN32
+LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "resource.h\0"
+END
+
+2 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "#include ""afxres.h""\r\n"
+ "\0"
+END
+
+3 TEXTINCLUDE DISCARDABLE
+BEGIN
+ "\r\n"
+ "\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+IDI_FILE_ENC ICON DISCARDABLE "safe.ico"
+IDI_FILE_SIG ICON DISCARDABLE "sign.ico"
+IDI_KEY_EXPORT ICON DISCARDABLE "key_export.ico"
+IDI_KEY_IMPORT ICON DISCARDABLE "key_import.ico"
+IDI_KEY_PROPS ICON DISCARDABLE "key_props.ico"
+IDI_KEY_SIGN ICON DISCARDABLE "key_sign.ico"
+IDI_SORT_UPARROW ICON DISCARDABLE "sort_uparrow.ico"
+IDI_SORT_DOWNARROW ICON DISCARDABLE "sort_downarrow.ico"
+IDI_KEY_FILE_EXPORT ICON DISCARDABLE "key_file_export.ico"
+IDI_KEY_FILE_IMPORT ICON DISCARDABLE "key_file_import.ico"
+IDI_KEY_SEARCH ICON DISCARDABLE "key_search.ico"
+IDI_KEY_NEW ICON DISCARDABLE "key_new.ico"
+IDI_COMPUTER ICON DISCARDABLE "computer.ico"
+IDI_KEY_DELETE ICON DISCARDABLE "key_delete.ico"
+IDI_KEY_SIG ICON DISCARDABLE "keysig.ico"
+IDI_USERID ICON DISCARDABLE "userid.ico"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Dialog
+//
+
+IDD_WINPT_KEYWIZARD DIALOG DISCARDABLE 0, 0, 273, 183
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Key Generation Wizard"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Name and E-Mail Assignment",IDC_KEYWIZARD_TITLEINF,12,
+ 11,93,8
+ LTEXT "Every key pair must have a name associated with it. The name and\nemail address let your correspondents know that your public key they\nare using belongs to us.",
+ IDC_KEYWIZARD_TEXT1INF,33,26,231,27
+ GROUPBOX "",IDC_STATIC,3,51,264,9
+ LTEXT "&Real name:",IDC_KEYWIZARD_NAMEINF,15,69,37,8
+ EDITTEXT IDC_KEYWIZARD_NAME,67,67,189,12,ES_AUTOHSCROLL
+ LTEXT "By associating an email address with your key pair, you will enable WinPT to assist your correspondents in selecting the correct public\nkey when communicating with you.",
+ IDC_KEYWIZARD_TEXT2INF,16,91,217,24
+ LTEXT "&Email address:",IDC_KEYWIZARD_EMAILINF,15,125,46,8
+ EDITTEXT IDC_KEYWIZARD_EMAIL,67,123,190,12,ES_AUTOHSCROLL
+ CONTROL "&Prefer RSA keys",IDC_KEYWIZARD_USEOTHERPK,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,15,143,120,10
+ DEFPUSHBUTTON "&OK",IDOK,157,163,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,210,163,50,14
+END
+
+IDD_WINPT_CDISK_NEW DIALOG DISCARDABLE 0, 0, 186, 150
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Cryptdisk -- New Volume"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Name of the volume file",IDC_STATIC,8,10,75,8
+ EDITTEXT IDC_CDNEW_IMGFILE,8,21,162,13,ES_AUTOHSCROLL
+ LTEXT "Size of the new volume (Megabytes MB)",IDC_STATIC,8,39,
+ 128,8
+ EDITTEXT IDC_CDNEW_SIZE,8,50,96,12,ES_AUTOHSCROLL
+ CONTROL "Spin1",IDC_CDNEW_SIZSPIN,"msctls_updown32",
+ UDS_ARROWKEYS,104,49,12,13
+ LTEXT "Cipher algorithm",IDC_STATIC,8,69,51,8
+ COMBOBOX IDC_CDNEW_CIPHERS,8,79,88,40,CBS_DROPDOWNLIST | CBS_SORT |
+ WS_VSCROLL | WS_TABSTOP
+ LTEXT "Passphrase to protect the volume",IDC_STATIC,8,97,106,8
+ EDITTEXT IDC_CDNEW_PASS,8,108,132,13,ES_PASSWORD | ES_AUTOHSCROLL
+ DEFPUSHBUTTON "OK",IDOK,77,129,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,130,129,50,14
+END
+
+IDD_WINPT_SIGPROPS DIALOG DISCARDABLE 0, 0, 246, 159
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
+CAPTION "Signature Properties"
+FONT 8, "MS Sans Serif"
+BEGIN
+ GROUPBOX "Signature Info",IDC_SIGPROPS_FRAME,2,1,239,133
+ EDITTEXT IDC_SIGPROPS_INFO,9,18,219,13,ES_AUTOHSCROLL |
+ ES_READONLY
+ LTEXT "Issuer key",IDC_SIGPROPS_KEYINF,9,36,120,8
+ EDITTEXT IDC_SIGPROPS_ISSUER,9,49,146,12,ES_AUTOHSCROLL |
+ ES_READONLY
+ LTEXT "Issuer key ID",IDC_SIGPROPS_KEYIDINF,155,36,80,8
+ EDITTEXT IDC_SIGPROPS_KEYID,155,49,73,12,ES_AUTOHSCROLL |
+ ES_READONLY
+ LTEXT "Policy URL",IDC_SIGPROPS_POLICINF,9,68,64,8
+ EDITTEXT IDC_SIGPROPS_POLIC,9,80,157,12,ES_AUTOHSCROLL |
+ ES_READONLY
+ LTEXT "Class",IDC_SIGPROPS_CLASSINF,170,82,25,8
+ EDITTEXT IDC_SIGPROPS_CLASS,198,80,40,12,ES_AUTOHSCROLL |
+ ES_READONLY
+ LTEXT "Creation date",IDC_SIGPROPS_CREATSTR,9,101,53,8
+ CONTROL "DateTimePicker1",IDC_SIGPROPS_CREATDATE,
+ "SysDateTimePick32",DTS_RIGHTALIGN | WS_DISABLED |
+ WS_TABSTOP,62,99,57,12
+ LTEXT "Expire date",IDC_SIGPROPS_EXPSTR,126,100,40,8
+ CONTROL "DateTimePicker1",IDC_SIGPROPS_EXPDATE,"SysDateTimePick32",
+ DTS_RIGHTALIGN | WS_DISABLED | WS_TABSTOP,171,99,60,12
+ CONTROL "Exportable",IDC_SIGPROPS_EXP,"Button",BS_AUTOCHECKBOX |
+ BS_FLAT | WS_TABSTOP,9,120,53,10
+ CONTROL "Non-revocably",IDC_SIGPROPS_NREV,"Button",
+ BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,64,120,67,10
+ CONTROL "Revoked",IDC_SIGPROPS_REV,"Button",BS_AUTOCHECKBOX |
+ BS_FLAT | WS_TABSTOP,133,120,50,10
+ CONTROL "Expired",IDC_SIGPROPS_EXPIRED,"Button",BS_AUTOCHECKBOX |
+ BS_FLAT | WS_TABSTOP,186,120,50,10
+ DEFPUSHBUTTON "OK",IDOK,191,137,50,14
+END
+
+IDD_WINPT_KEYEDIT_SHOWPREF DIALOG DISCARDABLE 0, 0, 144, 172
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
+CAPTION "Key Preferences"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Key Info Dummy",IDC_SHOWPREF_INFO,4,16,136,20
+ GROUPBOX "Preferences",IDC_SHOWPREF_PREFINF,2,55,136,94
+ LTEXT "Ciphers",IDC_STATIC,8,66,59,8
+ LISTBOX IDC_SHOWPREF_CIPHERS,8,74,61,71,LBS_NOINTEGRALHEIGHT |
+ WS_VSCROLL | WS_TABSTOP
+ LTEXT "Digests",IDC_STATIC,72,66,60,8
+ LISTBOX IDC_SHOWPREF_HASH,72,75,61,27,LBS_NOINTEGRALHEIGHT |
+ WS_VSCROLL | WS_TABSTOP
+ LTEXT "Compression",IDC_STATIC,72,104,41,8
+ LISTBOX IDC_SHOWPREF_ZIP,72,115,61,30,LBS_NOINTEGRALHEIGHT |
+ WS_VSCROLL | WS_TABSTOP
+ DEFPUSHBUTTON "&OK",IDOK,88,153,50,14
+ CONTROL "MDC feature",IDC_SHOWPREF_MDC,"Button",BS_AUTOCHECKBOX |
+ BS_FLAT | WS_DISABLED | WS_TABSTOP,4,41,102,10
+ LTEXT "user ID:",IDC_SHOWPREF_UIDHINT,4,3,59,9
+END
+
+IDD_WINPT_LANGUAGE DIALOG DISCARDABLE 0, 0, 145, 74
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Native Language Support"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Please select a language",IDC_LANGUAGE_INFO,4,6,117,10
+ COMBOBOX IDC_LANGUAGE_LIST,4,19,103,41,CBS_DROPDOWNLIST |
+ WS_VSCROLL | WS_TABSTOP
+ DEFPUSHBUTTON "&OK",IDOK,36,56,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,88,56,50,14
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// DESIGNINFO
+//
+
+#ifdef APSTUDIO_INVOKED
+GUIDELINES DESIGNINFO DISCARDABLE
+BEGIN
+ IDD_WINPT_KEYWIZARD, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 269
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 176
+ END
+
+ IDD_WINPT_CDISK_NEW, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 180
+ TOPMARGIN, 4
+ BOTTOMMARGIN, 144
+ END
+
+ IDD_WINPT_SIGPROPS, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 241
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 152
+ END
+
+ IDD_WINPT_KEYEDIT_SHOWPREF, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 140
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 169
+ END
+
+ IDD_WINPT_LANGUAGE, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 140
+ TOPMARGIN, 1
+ BOTTOMMARGIN, 70
+ END
+END
+#endif // APSTUDIO_INVOKED
+
+#endif // Deutsch (Deutschland) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Englisch (USA) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+#ifdef _WIN32
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+#pragma code_page(1252)
+#endif //_WIN32
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+IDI_WINPT ICON DISCARDABLE "winpt.ico"
+IDI_PUBKEY ICON DISCARDABLE "pubkey.ico"
+IDI_KEYPAIR ICON DISCARDABLE "keypair.ico"
+IDI_SIG_GOOD ICON DISCARDABLE "sig_good.ico"
+IDI_SIG_BAD ICON DISCARDABLE "sig_bad.ico"
+IDI_REV_KEYPAIR ICON DISCARDABLE "rev_keypair.ico"
+IDI_EXP_KEYPAIR ICON DISCARDABLE "exp_keypair.ico"
+IDI_REV_PUBKEY ICON DISCARDABLE "exp_pubkey.ico"
+//IDI_DIS_PUBKEY ICON DISCARDABLE "disabled_pubkey.ico"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Dialog
+//
+
+IDD_WINPT_ABOUT DIALOG DISCARDABLE 0, 0, 269, 226
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "About WinPT"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "&OK",IDOK,208,11,50,14
+ PUSHBUTTON "&About GPG...",IDC_ABOUT_GPG,208,28,50,14
+ PUSHBUTTON "&Help",IDC_ABOUT_HELP,208,45,50,14
+ ICON IDI_WINPT,IDC_STATIC,17,13,20,20
+ LTEXT "Windows Privacy Tray",IDC_STATIC,45,11,72,8
+ LTEXT "Version 0.1.1 (2001-01-29)",IDC_WINPT_VERSION,45,22,129,
+ 8
+ LTEXT "Copyright (C) 2009 Timo Schulz",IDC_STATIC,8,42,182,8
+ LTEXT "WinPT is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either Version 2 of the License, or (at your option) any later version.",
+ IDC_ABOUT_GPL1,10,137,223,36
+ GROUPBOX "Warranty",IDC_ABOUT_GPLINF,6,123,240,91
+ LTEXT "WinPT is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABLITY or FITNESS FOR A PARTICULAR PURPOSE. See the General Public License for more details.",
+ IDC_ABOUT_GPL2,10,177,231,34
+ LTEXT "Please report any BUGS or suggestions for WinPT to <winpt at gnupt.de>",
+ IDC_ABOUT_BUGS,8,110,254,8
+ LTEXT "A free open source privacy tray for Windows based on GnuPG.",
+ IDC_ABOUT_INFO,8,82,248,8
+ LTEXT "For more information you can visit the homepage: http://www.gnupt.de",
+ IDC_ABOUT_URL,8,90,247,15
+ LTEXT "The AUTHORS files contains a list of all contributors and co-authors.",
+ IDC_ABOUT_AUTHORS,6,64,250,8
+END
+
+IDD_WINPT_CLIPEDIT DIALOG DISCARDABLE 0, 0, 331, 246
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Clipboard Editor"
+FONT 10, "Courier"
+BEGIN
+ CONTROL "",IDC_CLIPEDIT_CLIPTEXT2,"RICHEDIT",ES_MULTILINE |
+ ES_WANTRETURN | WS_BORDER | WS_VSCROLL | WS_TABSTOP,3,3,
+ 319,208
+ PUSHBUTTON "&Copy",IDC_CLIPEDIT_SEND,3,213,42,15
+END
+
+IDD_WINPT_ENCRYPT DIALOG DISCARDABLE 0, 0, 354, 210
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Encryption"
+FONT 8, "MS Sans Serif"
+BEGIN
+ CONTROL "List1",IDC_ENCRYPT_KEYLIST,"SysListView32",LVS_REPORT |
+ LVS_SHOWSELALWAYS | LVS_ALIGNLEFT | WS_BORDER |
+ WS_TABSTOP,7,6,339,180
+ LTEXT "Find key:",IDC_ENCRYPT_FINDKEY,7,189,30,8
+ EDITTEXT IDC_ENCRYPT_FIND,41,188,61,11,ES_AUTOHSCROLL
+ PUSHBUTTON "&Find",IDC_ENCRYPT_FNDCMD,103,189,39,9
+ DEFPUSHBUTTON "&OK",IDOK,242,189,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,294,189,53,14
+END
+
+IDD_WINPT_DECRYPT DIALOG DISCARDABLE 0, 0, 236, 167
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Decryption"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Encrypted with the following public key(s)",
+ IDC_DECRYPT_LISTINF,8,6,209,8
+ LISTBOX IDC_DECRYPT_LIST,8,15,221,35,LBS_SORT |
+ LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL |
+ WS_TABSTOP
+ GROUPBOX "",IDC_STATIC,8,52,221,51
+ LTEXT "Passphrase info",IDC_DECRYPT_MSG,11,60,212,39
+ LTEXT "Please enter your passphrase",IDC_DECRYPT_PWDINFO,8,105,
+ 201,8
+ EDITTEXT IDC_DECRYPT_PWD,8,117,221,13,ES_PASSWORD |
+ ES_AUTOHSCROLL
+ CONTROL "&Hide Typing",IDC_DECRYPT_HIDE,"Button",BS_AUTOCHECKBOX |
+ WS_TABSTOP,152,131,85,10
+ DEFPUSHBUTTON "&OK",IDOK,130,150,48,14
+ PUSHBUTTON "&Cancel",IDCANCEL,179,150,49,14
+END
+
+IDD_WINPT_KEYSERVER DIALOG DISCARDABLE 0, 0, 187, 186
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Keyserver Access"
+FONT 8, "MS Sans Serif"
+BEGIN
+ CONTROL "List1",IDC_KEYSERVER_LIST,"SysListView32",LVS_REPORT |
+ LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING |
+ LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,6,5,173,100
+ PUSHBUTTON "C&hange proxy",IDC_KEYSERVER_PROXSETT,117,106,61,13
+ GROUPBOX "",IDC_STATIC,5,128,171,36
+ LTEXT "Key ID or email address you want to search for",
+ IDC_KEYSERVER_INFO,8,136,166,8
+ COMBOBOX IDC_KEYSERVER_SEARCH,8,148,160,51,CBS_DROPDOWN |
+ WS_VSCROLL | WS_TABSTOP
+ DEFPUSHBUTTON "&Receive",IDC_KEYSERVER_RECV,5,169,46,14
+ PUSHBUTTON "&Search",IDC_KEYSERVER_INDEX,53,169,36,14
+ PUSHBUTTON "&Close",IDCANCEL,130,167,45,14
+END
+
+IDD_WINPT_SIGN DIALOG DISCARDABLE 0, 0, 299, 125
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Signing"
+FONT 8, "MS Sans Serif"
+BEGIN
+ CONTROL "List1",IDC_SIGN_KEYLIST,"SysListView32",LVS_REPORT |
+ LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER |
+ WS_TABSTOP,6,5,286,93
+ DEFPUSHBUTTON "&OK",IDOK,189,103,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,242,103,50,14
+END
+
+IDD_WINPT_KEYGEN DIALOG DISCARDABLE 0, 0, 193, 167
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Key Generation"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "NOTE: Key generation can be a lengthy process! Please wait until you get the message that key generation was finished.",
+ IDC_KEYGEN_INFO,8,10,157,24
+ LTEXT "Key &type",IDC_KEYGEN_KEYTYPEINF,8,43,49,10
+ COMBOBOX IDC_KEYGEN_KEYTYPE,79,42,107,61,CBS_DROPDOWNLIST |
+ WS_VSCROLL | WS_TABSTOP
+ LTEXT "Subkey size in &bits",IDC_KEYGEN_SUBKEYINF,8,61,68,8
+ EDITTEXT IDC_KEYGEN_SUBKEYBITS,79,58,20,14
+ LTEXT "2048-4096",IDC_STATIC,103,60,35,8
+ LTEXT "&Real name",IDC_KEYGEN_NAMEINF,8,79,57,8
+ EDITTEXT IDC_KEYGEN_NAME,79,76,107,13,ES_AUTOHSCROLL
+ LTEXT "&Comment (optional)",IDC_KEYGEN_COMMINF,8,96,61,8
+ EDITTEXT IDC_KEYGEN_COMMENT,79,93,107,13,ES_AUTOHSCROLL
+ LTEXT "Email &address",IDC_KEYGEN_EMAILINF,8,112,55,8
+ EDITTEXT IDC_KEYGEN_EMAIL,79,109,107,12,ES_AUTOHSCROLL
+ LTEXT "&Expire date",IDC_KEYGEN_EXPINF,8,126,53,8
+ CONTROL "&Never",IDC_KEYGEN_EXPNEVER,"Button",BS_AUTOCHECKBOX |
+ WS_TABSTOP,79,127,44,10
+ CONTROL "DateTimePicker1",IDC_KEYGEN_EXPDATE,"SysDateTimePick32",
+ DTS_RIGHTALIGN | WS_TABSTOP,126,125,54,12
+ DEFPUSHBUTTON "&Start",IDOK,82,148,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,135,148,50,14
+END
+
+IDD_WINPT_SIGNENC DIALOG DISCARDABLE 0, 0, 384, 194
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Sign & Encrypt"
+FONT 8, "MS Sans Serif"
+BEGIN
+ CONTROL "List1",IDC_SIGNENC_KEYLIST,"SysListView32",LVS_REPORT |
+ LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP,4,4,368,147
+ CONTROL "Select key for signing",IDC_SIGNENC_SELKEY,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,4,156,169,10
+ LTEXT "Signing key:",IDC_SIGNENC_SECLISTINF,4,171,40,8
+ COMBOBOX IDC_SIGNENC_SECLIST,48,166,178,59,CBS_DROPDOWNLIST |
+ WS_VSCROLL | WS_TABSTOP
+ DEFPUSHBUTTON "&OK",IDOK,274,173,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,326,173,50,14
+END
+
+IDD_WINPT_KEYMISC DIALOGEX 0, 0, 470, 231
+STYLE WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU |
+ WS_THICKFRAME
+CAPTION "Key Management"
+FONT 8, "MS Sans Serif", 0, 0, 0x1
+BEGIN
+ CONTROL "List1",IDC_KEYMISC_KEYLIST,"SysListView32",LVS_REPORT |
+ LVS_SHOWSELALWAYS | LVS_ALIGNLEFT | WS_BORDER |
+ WS_TABSTOP,6,7,451,190,WS_EX_ACCEPTFILES
+END
+
+IDD_WINPT_ABOUTGPG DIALOG DISCARDABLE 0, 0, 286, 170
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "About the GNU Privacy Guard"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "About GPG",IDC_ABOUTGPG_INFO,6,6,270,137
+ DEFPUSHBUTTON "&OK",IDOK,227,149,50,14
+END
+
+IDD_WINPT_KEYEDIT_OWNERTRUST DIALOG DISCARDABLE 0, 0, 183, 114
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Change Ownertrust"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprint from different source...)?",
+ IDC_KEYTRUST_INF,8,7,167,26
+ LISTBOX IDC_KEYTRUST_TRUST,7,38,167,46,LBS_NOINTEGRALHEIGHT |
+ WS_VSCROLL | WS_TABSTOP
+ DEFPUSHBUTTON "&OK",IDOK,72,89,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,124,89,50,14
+END
+
+IDD_WINPT_KEYCACHE DIALOG DISCARDABLE 0, 0, 184, 31
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
+CAPTION "Key Caching"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Info",IDC_KEYCACHE_INFO,10,9,162,8
+END
+
+IDD_WINPT_KEYSIGN DIALOG DISCARDABLE 0, 0, 317, 210
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Key Signing"
+FONT 8, "MS Sans Serif"
+BEGIN
+ GROUPBOX "",IDC_STATIC,5,4,236,47
+ LTEXT "Infos",IDC_KEYSIGN_INFOS,10,12,226,37
+ LTEXT "Are you really sure that you want to sign this key with YOUR key?",
+ IDC_KEYSIGN_CONFIRMSIGN,6,107,267,8
+ CONTROL "Sign &local only (non exportable signature)",
+ IDC_KEYSIGN_LOCAL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
+ 6,121,170,10
+ CONTROL "Signature &expires on",IDC_KEYSIGN_EXPSIG,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,6,134,83,10
+ CONTROL "DateTimePicker1",IDC_KEYSIGN_EXPIRES,"SysDateTimePick32",
+ DTS_RIGHTALIGN | WS_TABSTOP,89,132,69,14
+ CONTROL "&Ask for certification level",IDC_KEYSIGN_ASKLEVEL,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,147,112,10
+ CONTROL "Sign &non-revocably",IDC_KEYSIGN_NREV,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,6,160,100,10
+ COMBOBOX IDC_KEYSIGN_KEYLIST,6,172,219,49,CBS_DROPDOWNLIST |
+ WS_VSCROLL | WS_TABSTOP
+ DEFPUSHBUTTON "&OK",IDOK,205,192,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,258,191,54,15
+ CONTROL "",IDC_KEYSIGN_IMG,"Static",SS_BLACKFRAME,243,7,69,96
+ CONTROL "List1",IDC_KEYSIGN_UIDLIST,"SysListView32",LVS_REPORT |
+ LVS_SINGLESEL | LVS_NOSORTHEADER | WS_BORDER |
+ WS_TABSTOP,5,52,236,51
+END
+
+IDD_WINPT_GPGPREFS DIALOG DISCARDABLE 0, 0, 222, 209
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "GnuPG Preferences"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "GnuPG home directory (where both keyrings are located)",
+ IDC_GPGPREFS_HOMEINF,12,12,196,8
+ EDITTEXT IDC_GPGPREFS_HOMEDIR,12,22,152,12,ES_AUTOHSCROLL
+ PUSHBUTTON "Browse...",IDC_GPGPREFS_HOMEDLG,167,21,41,14
+ LTEXT "GnuPG exe file location (full path with added gpg.exe)",
+ IDC_GPGPREFS_EXEINF,12,41,192,8
+ EDITTEXT IDC_GPGPREFS_EXEDIR,12,52,152,12,ES_AUTOHSCROLL
+ PUSHBUTTON "Browse...",IDC_GPGREFS_EXEDLG,167,51,41,14
+ GROUPBOX "",IDC_STATIC,5,4,208,67
+ CONTROL "&Overwrite default settings",IDC_GPGPREFS_OVRDEFAULT,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,75,121,10
+ GROUPBOX "General GPG options",IDC_GPGPREFS_ALLOPTINF,5,96,210,86
+ CONTROL "Ask for the signature class during key sign",
+ IDC_GPGPREFS_ASKLEVEL,"Button",BS_AUTOCHECKBOX |
+ WS_TABSTOP,11,110,189,10
+ CONTROL "Allow to set an expiration date for signatures",
+ IDC_GPGPREFS_ASKEXPIRE,"Button",BS_AUTOCHECKBOX |
+ WS_TABSTOP,11,122,188,9
+ LTEXT "Comment in armored files",IDC_GPGPREFS_CMTINF,11,136,
+ 124,8
+ EDITTEXT IDC_GPGPREFS_COMMENT,11,147,188,12,ES_AUTOHSCROLL
+ LTEXT "Encrypt to this key",IDC_GPGPREFS_ENCINF,11,166,66,8
+ EDITTEXT IDC_GPGPREFS_ENCTO,78,164,121,13,ES_AUTOHSCROLL
+ PUSHBUTTON "&OK",IDC_GPGPREFS_SAVE,101,189,55,14
+ PUSHBUTTON "&Cancel",IDCANCEL,159,189,55,14
+END
+
+IDD_WINPT_IMPORT DIALOG DISCARDABLE 0, 0, 321, 118
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Key Import"
+FONT 8, "MS Sans Serif"
+BEGIN
+ CONTROL "List1",IDC_IMPORT_KEYLIST,"SysListView32",LVS_REPORT |
+ LVS_SINGLESEL | LVS_NOSORTHEADER | WS_BORDER |
+ WS_TABSTOP,6,6,306,73
+ LTEXT "",IDC_IMPORT_INFO,6,81,307,8
+ PUSHBUTTON "&Import",IDC_IMPORT_DOIT,204,97,54,14
+ PUSHBUTTON "&Cancel",IDCANCEL,262,97,50,14
+END
+
+IDD_WINPT_GPGOPT DIALOG DISCARDABLE 0, 0, 333, 143
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "GnuPG Options"
+FONT 8, "MS Sans Serif"
+BEGIN
+ EDITTEXT IDC_GPGOPT_FILE,6,6,318,111,ES_MULTILINE | ES_WANTRETURN |
+ WS_VSCROLL
+ PUSHBUTTON "&Load",IDC_GPGOPT_LOAD,161,122,52,14
+ PUSHBUTTON "&Save",IDC_GPGOPT_SAVE,217,122,47,14
+ PUSHBUTTON "&Exit",IDCANCEL,273,122,50,14
+END
+
+IDD_WINPT_KEYSIG DIALOG DISCARDABLE 0, 0, 351, 170
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Signature List for key ..."
+FONT 8, "MS Sans Serif"
+BEGIN
+ CONTROL "List1",IDC_KEYSIG_LIST,"SysListView32",LVS_REPORT |
+ LVS_SINGLESEL | WS_BORDER | WS_TABSTOP,8,8,335,134
+ DEFPUSHBUTTON "&OK",IDOK,153,149,55,14
+ PUSHBUTTON "&Receive Key",IDC_KEYSIG_RECVKEY,210,149,75,14
+ PUSHBUTTON "&Properties",IDC_KEYSIG_SIGPROPS,288,149,55,14
+END
+
+IDD_WINPT_VERIFY DIALOG DISCARDABLE 0, 0, 394, 102
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Verify"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "&OK",IDOK,135,82,50,14
+ PUSHBUTTON "&Save",IDC_VERIFY_SAVE,187,82,54,14
+ CONTROL "List1",IDC_VERIFY_SIGLIST,"SysListView32",LVS_REPORT |
+ LVS_SINGLESEL | WS_BORDER | WS_TABSTOP,6,4,377,46
+ EDITTEXT IDC_VERIFY_INFO,6,53,377,21,ES_MULTILINE |
+ ES_AUTOHSCROLL | ES_WANTRETURN | WS_DISABLED
+ PUSHBUTTON "Notation data",IDC_VERIFY_SIGNOT,6,82,61,14
+END
+
+IDD_WINPT_OWNERTRUST DIALOG DISCARDABLE 0, 0, 182, 76
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Ownertrust"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Here it is possible to save or restore the ownertrust from the trustdb file. This could be very useful because the values are NOT stored in the keyring.",
+ IDC_OWNERTRUST_DESC,8,5,163,43
+ PUSHBUTTON "&Export",IDC_OWNERTRUST_EXPORT,22,57,50,14
+ PUSHBUTTON "&Import",IDC_OWNERTRUST_IMPORT,74,57,50,14
+ PUSHBUTTON "&Close",IDCANCEL,126,57,50,14
+END
+
+IDD_WINPT_KEYEDIT_ADDUID DIALOG DISCARDABLE 0, 0, 180, 82
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Add new User ID"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Name",IDC_ADDUID_INFNAME,6,6,44,10
+ EDITTEXT IDC_ADDUID_NAME,56,6,119,12,ES_AUTOHSCROLL
+ LTEXT "Email",IDC_ADDUID_INFEMAIL,6,23,45,11
+ EDITTEXT IDC_ADDUID_EMAIL,56,23,118,12,ES_AUTOHSCROLL
+ LTEXT "Comment",IDC_ADDUID_INFCOMMENT,6,39,47,11
+ EDITTEXT IDC_ADDUID_COMMENT,56,39,118,12,ES_AUTOHSCROLL
+ DEFPUSHBUTTON "&OK",IDOK,78,63,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,129,63,46,14
+END
+
+IDD_WINPT_KEYEDIT_ADDSUBKEY DIALOG DISCARDABLE 0, 0, 176, 127
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Add new Subkey"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Key type",IDC_ADDSUBKEY_INFALGO,8,8,49,8
+ LISTBOX IDC_ADDSUBKEY_ALGO,63,7,108,47,LBS_NOINTEGRALHEIGHT |
+ WS_VSCROLL | WS_TABSTOP
+ LTEXT "Size in bits",IDC_ADDSUBKEY_INFSIZE,8,62,49,9
+ COMBOBOX IDC_ADDSUBKEY_SIZE,63,60,55,48,CBS_DROPDOWNLIST |
+ WS_VSCROLL | WS_TABSTOP
+ LTEXT "Key expiration",IDC_ADDSUBKEY_INFVALID,8,80,56,8
+ CONTROL "&Never",IDC_ADDSUBKEY_EXPIRE,"Button",BS_AUTOCHECKBOX |
+ WS_TABSTOP,63,80,45,10
+ CONTROL "DateTimePicker1",IDC_ADDSUBKEY_EXPDATE,
+ "SysDateTimePick32",DTS_RIGHTALIGN | WS_TABSTOP,112,79,
+ 53,13
+ DEFPUSHBUTTON "&OK",IDOK,66,107,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,119,107,50,14
+END
+
+IDD_WINPT_PREFS DIALOG DISCARDABLE 0, 0, 286, 268
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "WinPT Preferences"
+FONT 8, "MS Sans Serif"
+BEGIN
+ GROUPBOX "General options",IDC_PREFS_ALLOPTINF,8,2,271,90
+ CONTROL "Use clipboard &viewer to display the plaintext",
+ IDC_PREFS_VIEWER,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
+ 13,13,229,10
+ CONTROL "Skip key validation and assume that keys are always fully trusted",
+ IDC_PREFS_TRUST,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,
+ 27,234,8
+ LTEXT "Word wrap cleartext &signatures at column",
+ IDC_PREFS_WWINFO,14,56,139,8
+ EDITTEXT IDC_PREFS_WORDWRAP,155,55,14,13
+ LTEXT "Cache &passphrases for 'n' minutes",IDC_PREFS_CACHEINF,
+ 14,73,117,8
+ EDITTEXT IDC_PREFS_CACHETIME,155,71,25,13
+ LTEXT "(CTRL+ALT+F to clear cache)",IDC_PREFS_CACHEHINT,182,73,
+ 96,8
+ GROUPBOX "Clipboard hotkeys CTRL+ALT",IDC_PREFS_CLIPINF,8,92,112,
+ 70
+ LTEXT "Encrypt",IDC_PREFS_CLIP_HT_ENC,13,107,80,8
+ EDITTEXT IDC_PREFS_CLIP_ENCRYPT,106,117,10,12
+ LTEXT "Decrypt/Verify",IDC_PREFS_CLIP_HT_DEC,13,119,90,8
+ EDITTEXT IDC_PREFS_CLIP_DECRYPT_VERIFY,106,105,10,12
+ LTEXT "Sign",IDC_PREFS_CLIP_HT_SIG,13,132,80,8
+ EDITTEXT IDC_PREFS_CLIP_SIGN,106,130,10,12
+ LTEXT "Sign && Encrypt",IDC_PREFS_CLIP_HT_SAE,13,146,89,8
+ EDITTEXT IDC_PREFS_CLIP_SIGNENC,106,144,10,12
+ GROUPBOX "Current window hotkeys ALT+SHIFT",IDC_PREFS_CURRINF,127,
+ 92,152,70
+ LTEXT "Encrypt",IDC_PREFS_CW_HT_ENC,134,107,69,8
+ EDITTEXT IDC_PREFS_CWS_ENCRYPT,230,105,10,12
+ LTEXT "Decrypt/Verify",IDC_PREFS_CW_HT_DEC,134,120,90,8
+ EDITTEXT IDC_PREFS_CWS_DECRYPT_VERIFY,230,119,10,12
+ LTEXT "Sign",IDC_PREFS_CW_HT_SIG,134,133,59,8
+ EDITTEXT IDC_PREFS_CWS_SIGN,230,132,10,12
+ LTEXT "Sign && Encrypt",IDC_PREFS_CW_HT_SAE,134,146,91,8
+ EDITTEXT IDC_PREFS_CWS_SIGNENC,230,144,10,12
+ CONTROL "&Disable hotkeys (Not recommended!)",
+ IDC_PREFS_DISABLE_HOTKEYS,"Button",BS_AUTOCHECKBOX |
+ WS_TABSTOP,8,165,159,10
+ GROUPBOX "",IDC_STATIC,8,184,271,41
+ CONTROL "&Automatic keyring backup when WinPT closes",
+ IDC_PREFS_AUTOBACKUP,"Button",BS_AUTOCHECKBOX |
+ WS_TABSTOP,14,183,195,11
+ CONTROL "Backup to &keyring folder",IDC_PREFS_BAKHOME,"Button",
+ BS_AUTORADIOBUTTON,24,195,150,10
+ CONTROL "Backup to:",IDC_PREFS_BAKUSER,"Button",
+ BS_AUTORADIOBUTTON,24,207,55,10
+ EDITTEXT IDC_PREFS_BAKPATH,80,206,130,12,ES_AUTOHSCROLL
+ PUSHBUTTON "Browse...",IDC_PREFS_BAKSELECT,212,205,47,14
+ DEFPUSHBUTTON "&OK",IDOK,176,248,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,228,248,50,14
+ LTEXT "Default extension for encrypted files",IDC_PREFS_EXTINF,
+ 14,42,138,9
+ COMBOBOX IDC_PREFS_DEFEXT,155,40,76,47,CBS_DROPDOWNLIST |
+ WS_VSCROLL | WS_TABSTOP
+ CONTROL "&Backup includes secret keyring",IDC_PREFS_BAKSECRING,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,228,164,10
+END
+
+IDD_WINPT_HKPSEARCH DIALOG DISCARDABLE 0, 0, 359, 157
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Keyserver Searching"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Info",IDC_HKPSEARCH_INFO,6,7,340,11
+ CONTROL "List1",IDC_HKPSEARCH_LIST,"SysListView32",LVS_REPORT |
+ LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER |
+ WS_TABSTOP,5,22,346,111
+ PUSHBUTTON "&Receive",IDC_HKPSEARCH_RECV,251,136,47,14
+ DEFPUSHBUTTON "&Cancel",IDOK,301,136,50,14
+END
+
+IDD_WINPT_FILE DIALOGEX 0, 0, 338, 109
+STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
+EXSTYLE WS_EX_ACCEPTFILES
+CAPTION "File Manager"
+FONT 8, "MS Sans Serif", 0, 0, 0x1
+BEGIN
+ CONTROL "List1",IDC_FILE_LIST,"SysListView32",LVS_REPORT |
+ LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP,5,5,323,81
+END
+
+IDD_WINPT_FILE_SIGN DIALOG DISCARDABLE 0, 0, 306, 167
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "File Sign"
+FONT 8, "MS Sans Serif"
+BEGIN
+ CONTROL "List1",IDC_FILE_SIG_LIST,"SysListView32",LVS_REPORT |
+ LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER |
+ WS_TABSTOP,8,7,291,77
+ GROUPBOX "Signature mode",IDC_FILE_SIG_SIGINF,8,87,107,51
+ CONTROL "&Normal Signature",IDC_FILE_SIG_NORMAL,"Button",
+ BS_AUTORADIOBUTTON,11,99,83,10
+ CONTROL "&Detached Signature",IDC_FILE_SIG_DETACH,"Button",
+ BS_AUTORADIOBUTTON,11,110,95,10
+ CONTROL "Clear&text Signature",IDC_FILE_SIG_CLEAR,"Button",
+ BS_AUTORADIOBUTTON,11,123,91,10
+ GROUPBOX "Options",IDC_FILE_SIG_OPTINF,120,86,78,53
+ CONTROL "&Text Output",IDC_FILE_SIG_ARMOR,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,126,99,65,10
+ DEFPUSHBUTTON "&OK",IDOK,194,144,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,248,144,51,14
+END
+
+IDD_WINPT_FILE_ENCRYPT DIALOG DISCARDABLE 0, 0, 348, 146
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "File Encrypt"
+FONT 8, "MS Sans Serif"
+BEGIN
+ CONTROL "List1",IDC_ENCRYPT_LIST,"SysListView32",LVS_REPORT |
+ LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP,6,6,333,92
+ GROUPBOX "Options",IDC_ENCRYPT_OPTINF,5,99,107,42
+ CONTROL "&Text Output",IDC_ENCRYPT_ARMOR,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,11,111,78,10
+ CONTROL "Anonymize (throw keyid)",IDC_ENCRYPT_ANON,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,11,124,97,10
+ CONTROL "&Select Key for signing",IDC_ENCRYPT_SIGN,"Button",
+ BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,116,103,113,
+ 10
+ COMBOBOX IDC_ENCRYPT_SECLIST,116,115,154,41,CBS_DROPDOWNLIST |
+ WS_DISABLED | WS_VSCROLL | WS_TABSTOP
+ DEFPUSHBUTTON "&OK",IDOK,290,101,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,290,118,50,14
+END
+
+IDD_WINPT_KEYPROPS DIALOG DISCARDABLE 0, 0, 215, 194
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Key Properties"
+FONT 8, "MS Sans Serif"
+BEGIN
+ EDITTEXT IDC_KEYPROPS_INFO,5,12,112,72,ES_MULTILINE |
+ ES_AUTOHSCROLL | ES_READONLY
+ LTEXT "Fingerprint",IDC_KEYPROPS_FPRTXT,5,107,45,8
+ EDITTEXT IDC_KEYPROPS_FPR,5,119,199,13,ES_READONLY
+ LTEXT "Ownertrust",IDC_KEYPROPS_OTINF,5,137,94,8
+ EDITTEXT IDC_KEYPROPS_OT,5,149,131,12,ES_AUTOHSCROLL |
+ ES_READONLY
+ PUSHBUTTON "&Change",IDC_KEYPROPS_OT_CHANGE,140,149,39,12
+ DEFPUSHBUTTON "&OK",IDOK,96,175,50,14
+ PUSHBUTTON "Change &Passwd",IDC_KEYPROPS_CHANGE_PWD,125,90,76,14,
+ WS_DISABLED
+ PUSHBUTTON "&Revokers",IDC_KEYPROPS_REVOKERS,149,175,58,14,
+ WS_DISABLED
+ CONTROL "",IDC_KEYPROPS_IMG,"Static",SS_BLACKFRAME,125,12,76,76
+ LTEXT "",IDC_KEYPROPS_IMGINF,125,3,75,9
+END
+
+IDD_WINPT_KEYTRUST DIALOG DISCARDABLE 0, 0, 346, 189
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "List Trust Path"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "OK",IDOK,138,165,50,14
+ CONTROL "Tree1",IDC_KEYTRUST_TREE,"SysTreeView32",TVS_HASBUTTONS |
+ TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP |
+ WS_BORDER | WS_TABSTOP,9,6,326,156
+END
+
+IDD_WINPT_KEYREVOKE DIALOG DISCARDABLE 0, 0, 174, 150
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Key Revocation Cert"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Reason for the revocation",IDC_KEYREVOKE_REASONINF,7,6,
+ 149,8
+ LISTBOX IDC_KEYREVOKE_REASON,7,17,150,38,LBS_SORT |
+ LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
+ LTEXT "Optional description text",IDC_KEYREVOKE_OPTINF,7,57,
+ 138,8
+ EDITTEXT IDC_KEYREVOKE_TEXT,7,68,150,12,ES_AUTOHSCROLL
+ LTEXT "&Passphrase",IDC_KEYREVOKE_PWDINF,7,88,45,8
+ EDITTEXT IDC_KEYREVOKE_PWD,56,87,101,12,ES_PASSWORD |
+ ES_AUTOHSCROLL
+ LTEXT "&Output file",IDC_KEYREVOKE_OUTINF,7,107,50,8
+ EDITTEXT IDC_KEYREVOKE_FILE,57,105,100,12,ES_AUTOHSCROLL
+ PUSHBUTTON "...",IDC_KEYREVOKE_CHOOSE,157,105,11,13
+ DEFPUSHBUTTON "&OK",IDOK,67,130,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,119,130,50,14
+END
+
+IDD_WINPT_PASSWD DIALOG DISCARDABLE 0, 0, 235, 98
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Passphrase Dialog"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Enter passphrase",IDC_PASSWD_INFO,4,19,195,10
+ EDITTEXT IDC_PASSWD_PWD,4,32,224,12,ES_PASSWORD | ES_AUTOHSCROLL
+ DEFPUSHBUTTON "&OK",IDOK,125,76,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,178,76,50,14
+ CONTROL "&Hide Typing",IDC_PASSWD_HIDE,"Button",BS_AUTOCHECKBOX |
+ WS_TABSTOP,150,46,78,10
+ COMBOBOX IDC_PASSWD_KEYINF,4,3,224,57,CBS_DROPDOWNLIST |
+ WS_VSCROLL | WS_TABSTOP
+ LTEXT "Quality indicator:",IDC_PASSWD_QOPINF,4,59,62,8
+ CONTROL "Progress1",IDC_PASSWD_QOP,"msctls_progress32",
+ PBS_SMOOTH,67,60,79,6
+END
+
+IDD_WINPT_DATE DIALOG DISCARDABLE 0, 0, 93, 58
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Universal Date Dialog"
+FONT 8, "MS Sans Serif"
+BEGIN
+ CONTROL "DateTimePicker2",IDC_DATE_DTP,"SysDateTimePick32",
+ DTS_RIGHTALIGN | WS_TABSTOP,8,8,64,15
+ DEFPUSHBUTTON "&OK",IDOK,21,35,50,14
+END
+
+IDD_WINPT_KEYPROG DIALOG DISCARDABLE 0, 0, 235, 146
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
+CAPTION "Key Generation - Progress Dialog"
+FONT 8, "Courier New"
+BEGIN
+ EDITTEXT IDC_KEYPROG_CB,8,5,219,130,ES_MULTILINE | ES_AUTOVSCROLL |
+ ES_WANTRETURN | WS_DISABLED
+END
+
+IDD_WINPT_DECRYPT_SIGN DIALOG DISCARDABLE 0, 0, 235, 130
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Signing"
+FONT 8, "MS Sans Serif"
+BEGIN
+ GROUPBOX "",IDC_STATIC,5,4,226,60
+ LTEXT "Passphrase info",IDC_DECRYPT_SIGN_MSG,9,14,216,46
+ LTEXT "Please enter your passphrase",IDC_DECRYPT_SIGN_PWDINFO,
+ 7,65,217,8
+ EDITTEXT IDC_DECRYPT_SIGN_PWD,7,77,219,12,ES_PASSWORD |
+ ES_AUTOHSCROLL
+ CONTROL "&Hide Typing",IDC_DECRYPT_SIGN_HIDE,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,150,91,74,10
+ DEFPUSHBUTTON "&OK",IDOK,131,110,48,14
+ PUSHBUTTON "&Cancel",IDCANCEL,181,110,47,14
+END
+
+IDD_WINPT_GROUP DIALOG DISCARDABLE 0, 0, 178, 66
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "New Group"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "OK",IDOK,64,43,50,14
+ PUSHBUTTON "Cancel",IDCANCEL,119,43,50,14
+ LTEXT "Email address for the group",IDC_STATIC,9,8,130,8
+ EDITTEXT IDC_GROUP_EMAIL,9,20,159,13,ES_AUTOHSCROLL
+END
+
+IDD_WINPT_TEXT DIALOG DISCARDABLE 0, 0, 317, 210
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Text Input"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Static",IDC_TEXT_INFO,5,5,236,9
+ EDITTEXT IDC_TEXT_INPUT,5,17,302,166,ES_MULTILINE |
+ ES_AUTOHSCROLL | ES_WANTRETURN
+ DEFPUSHBUTTON "&OK",IDOK,148,187,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,202,187,50,14
+ PUSHBUTTON "&Load",IDC_TEXT_FILE,255,187,51,14
+END
+
+IDD_WINPT_KEYSERVER_PROXY DIALOG DISCARDABLE 0, 0, 182, 138
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Proxy Settings"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Proxy type",IDC_PROXY_PROTOINF,6,7,54,11
+ COMBOBOX IDC_PROXY_PROTO,62,4,100,46,CBS_DROPDOWNLIST |
+ WS_VSCROLL | WS_TABSTOP
+ LTEXT "Proxy host name or IP address",IDC_PROXY_HOSTINF,6,26,
+ 128,8
+ EDITTEXT IDC_PROXY_HOST,6,36,131,12,ES_AUTOHSCROLL
+ LTEXT "Port",IDC_PROXY_PORTINF,143,26,29,8
+ EDITTEXT IDC_PROXY_PORT,142,36,32,12
+ CONTROL "Server requires authentication",IDC_PROXY_AUTH,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,6,52,142,10
+ GROUPBOX "Authentication",IDC_PROXY_AUTHINF,6,70,171,40
+ LTEXT "User name",IDC_PROXY_USERINF,14,82,76,8
+ EDITTEXT IDC_PROXY_USER,14,92,88,12,ES_AUTOHSCROLL
+ LTEXT "Password",IDC_PROXY_PWDINF,110,81,51,9
+ EDITTEXT IDC_PROXY_PWD,110,92,62,12,ES_PASSWORD | ES_AUTOHSCROLL
+ DEFPUSHBUTTON "&OK",IDOK,73,119,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,126,119,50,14
+END
+
+IDD_WINPT_FILE_STAT DIALOG DISCARDABLE 0, 0, 309, 133
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "File Status"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "&OK",IDOK,246,108,50,14
+ LISTBOX IDC_FILE_STAT_LIST,5,7,291,99,LBS_NOINTEGRALHEIGHT |
+ LBS_NOSEL | WS_VSCROLL | WS_TABSTOP
+END
+
+IDD_WINPT_FILE_SAVE DIALOG DISCARDABLE 0, 0, 195, 82
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Save Plaintext"
+FONT 8, "MS Sans Serif"
+BEGIN
+ GROUPBOX "",IDC_STATIC,6,2,182,40
+ CONTROL "Save to &file",IDC_FILE_SAVE_TOFILE,"Button",
+ BS_AUTORADIOBUTTON,10,12,56,10
+ EDITTEXT IDC_FILE_SAVE_FILE,66,11,90,13,ES_AUTOHSCROLL
+ PUSHBUTTON "...",IDC_FILE_SAVE_SELECT,157,11,26,12
+ CONTROL "Send to &clipboard",IDC_FILE_SAVE_CLIP,"Button",
+ BS_AUTORADIOBUTTON,10,28,97,10
+ CONTROL "&Save additional information",IDC_FILE_SAVE,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,6,46,130,10
+ DEFPUSHBUTTON "&OK",IDOK,82,63,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,135,63,50,14
+END
+
+IDD_WINPT_IMPORT_STAT DIALOG DISCARDABLE 0, 0, 154, 218
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
+CAPTION "Key Import Statistics"
+FONT 8, "MS Sans Serif"
+BEGIN
+ GROUPBOX "",IDC_STATIC,8,6,139,38
+ LTEXT "Number of public keys",IDC_IMPSTAT_NPKEYSINF,13,16,90,8
+ EDITTEXT IDC_IMPSTAT_NPKEYS,111,14,28,12,ES_AUTOHSCROLL |
+ ES_READONLY
+ LTEXT "Imported public keys",IDC_IMPSTAT_IPKEYSINF,13,30,90,8
+ EDITTEXT IDC_IMPSTAT_IPKEYS,111,29,28,12,ES_AUTOHSCROLL |
+ ES_READONLY
+ GROUPBOX "",IDC_STATIC,8,46,138,37
+ LTEXT "Number of secret keys",IDC_IMPSTAT_NSKEYSINF,13,54,91,8
+ EDITTEXT IDC_IMPSTAT_NSKEYS,111,52,28,12,ES_AUTOHSCROLL |
+ ES_READONLY
+ LTEXT "Imported secret keys",IDC_IMPSTAT_ISKEYSINF,13,69,91,8
+ EDITTEXT IDC_IMPSTAT_ISKEYS,111,67,28,12,ES_READONLY
+ LTEXT "Revocation certificates",IDC_IMPSTAT_NREVINF,13,91,93,8
+ EDITTEXT IDC_IMPSTAT_NREV,111,89,28,12,ES_READONLY
+ LTEXT "No (valid) user ID",IDC_IMPSTAT_NOUIDINF,13,105,89,8
+ EDITTEXT IDC_IMPSTAT_NOUID,111,104,28,12,ES_READONLY
+ GROUPBOX "",IDC_STATIC,8,123,137,49
+ LTEXT "New user ID's",IDC_IMPSTAT_NUIDINF,13,130,87,8
+ EDITTEXT IDC_IMPSTAT_NUID,111,130,28,12,ES_READONLY
+ LTEXT "New sub keys",IDC_IMPSTAT_NSUBKINF,13,143,88,8
+ EDITTEXT IDC_IMPSTAT_NSUBK,111,143,28,12,ES_READONLY
+ LTEXT "New signatures",IDC_IMPSTAT_NSIGINF,13,156,84,8
+ EDITTEXT IDC_IMPSTAT_NSIG,111,156,28,12,ES_READONLY
+ EDITTEXT IDC_IMPSTAT_INFO,10,178,133,12,ES_AUTOHSCROLL |
+ ES_READONLY
+ DEFPUSHBUTTON "&OK",IDOK,94,195,50,14
+ GROUPBOX "",IDC_STATIC,8,81,138,38
+END
+
+IDD_WINPT_FIRST DIALOG DISCARDABLE 0, 0, 195, 87
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
+CAPTION "WinPT First Start"
+FONT 8, "MS Sans Serif"
+BEGIN
+ GROUPBOX "",IDC_STATIC,6,2,185,49
+ CONTROL "&Generate a GnuPG key pair",IDC_FIRST_KEYGEN,"Button",
+ BS_AUTORADIOBUTTON,8,9,177,10
+ CONTROL "&Copy GnuPG keyrings from another location",
+ IDC_FIRST_IMPORT,"Button",BS_AUTORADIOBUTTON,8,22,176,10
+ CONTROL "&Import standard key pair from a file",
+ IDC_FIRST_IMPORTKEY,"Button",BS_AUTORADIOBUTTON,8,37,168,
+ 9
+ DEFPUSHBUTTON "&OK",IDOK,90,67,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,142,67,50,14
+END
+
+IDD_WINPT_SIGCLASS DIALOG DISCARDABLE 0, 0, 238, 98
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
+CAPTION "Choose Signature Class"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "&OK",IDOK,182,78,50,14
+ CONTROL "(0) I will not answer (default)",IDC_SIGCLASS_CLASS0,
+ "Button",BS_AUTORADIOBUTTON,14,28,162,10
+ LTEXT "How carefully have you verified the key you are about to sign actually belongs to the person? If you don't know what to anwser, use ""0"".",
+ IDC_SIGCLASS_TITLEINF,5,7,228,16
+ CONTROL "(1) I have not checked at all.",IDC_SIGCLASS_CLASS1,
+ "Button",BS_AUTORADIOBUTTON,14,39,158,10
+ CONTROL "(2) I have done causal checking.",IDC_SIGCLASS_CLASS2,
+ "Button",BS_AUTORADIOBUTTON,14,50,159,10
+ CONTROL "(3) I have done very careful checkings.",
+ IDC_SIGCLASS_CLASS3,"Button",BS_AUTORADIOBUTTON,14,62,
+ 160,10
+END
+
+IDD_WINPT_KEYREVOKERS DIALOG DISCARDABLE 0, 0, 226, 105
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
+CAPTION "Key Revokers"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "&OK",IDOK,89,87,52,14
+ CONTROL "List1",IDC_KEYREVOKERS_LIST,"SysListView32",LVS_REPORT |
+ LVS_SINGLESEL | WS_BORDER | WS_TABSTOP,15,17,200,60
+ GROUPBOX "Designated Revoker Keys",IDC_KEYREVOKERS_INF,9,5,209,79
+END
+
+IDD_WINPT_CONFDELCLIP DIALOG DISCARDABLE 0, 0, 129, 74
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
+CAPTION "Delete Clipboard Contents"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Do you want to delete the contents from the clipboard?",
+ IDC_CONFDELCLIP_INFO,6,7,116,20
+ CONTROL "&Remember the answer",IDC_CONFDELCLIP_BRAIN,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,6,33,114,10
+ DEFPUSHBUTTON "&Yes",IDYES,38,57,43,14
+ PUSHBUTTON "&No",IDNO,83,57,43,14
+END
+
+IDD_WINPT_DATACB DIALOG DISCARDABLE 0, 0, 125, 34
+STYLE DS_MODALFRAME | WS_POPUP
+FONT 10, "MS Sans Serif"
+BEGIN
+ LTEXT "Decoding data. Please wait...",IDC_STATIC,13,13,107,9
+END
+
+IDD_WINPT_KEYEDIT_ADDREV DIALOG DISCARDABLE 0, 0, 213, 81
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Revoker"
+FONT 8, "MS Sans Serif"
+BEGIN
+ CONTROL "Appointing a key as designated revoker cannot be undone.",
+ IDC_ADDREV_INF,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,7,8,
+ 192,17
+ LTEXT "Public key",IDC_ADDREV_KEYINF,7,35,53,8
+ COMBOBOX IDC_ADDREV_KEYLIST,63,33,145,54,CBS_DROPDOWNLIST |
+ WS_VSCROLL | WS_TABSTOP
+ DEFPUSHBUTTON "&OK",IDOK,103,62,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,157,62,50,14
+END
+
+IDD_WINPT_KEYEDIT_ADDPHOTO DIALOG DISCARDABLE 0, 0, 186, 114
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Add Photo ID"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Remember that the image is stored within your public key. If you use a very large picture, your key will become very large as well! Keeping the image close to 240x288 is a good size to use.",
+ IDC_ADDPHOTO_INF,7,5,166,44
+ LTEXT "Pick an image to use for your photo ID.\nThe image must be a JPEG file.",
+ IDC_ADDPHOTO_FILEINF,7,52,166,17
+ EDITTEXT IDC_ADDPHOTO_FILE,8,73,142,12,ES_AUTOHSCROLL
+ PUSHBUTTON "...",IDC_ADDPHOTO_SELFILE,152,73,25,12
+ DEFPUSHBUTTON "&OK",IDOK,77,94,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,130,94,50,14
+END
+
+IDD_WINPT_FILE_MDSUM DIALOG DISCARDABLE 0, 0, 304, 108
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Print Message Digest"
+FONT 8, "MS Sans Serif"
+BEGIN
+ CONTROL "List1",IDC_MDSUM_LIST,"SysListView32",LVS_REPORT |
+ LVS_SINGLESEL | WS_BORDER | WS_TABSTOP,7,5,287,79
+ PUSHBUTTON "&Save...",IDC_MDSUM_COPY,192,86,50,14
+ DEFPUSHBUTTON "&Close",IDOK,245,86,50,14
+ CONTROL "Save to clipboard",IDC_MDSUM_TOCLIP,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,7,86,94,10
+END
+
+IDD_WINPT_KEYEDIT DIALOG DISCARDABLE 0, 0, 293, 178
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Key Edit"
+FONT 8, "MS Sans Serif"
+BEGIN
+ CONTROL "List2",IDC_KEYEDIT_KEYLIST,"SysListView32",LVS_REPORT |
+ LVS_SINGLESEL | LVS_NOSORTHEADER | WS_BORDER |
+ WS_TABSTOP,4,3,281,59
+ CONTROL "List1",IDC_KEYEDIT_UIDLIST,"SysListView32",LVS_REPORT |
+ LVS_SINGLESEL | LVS_NOSORTHEADER | WS_BORDER |
+ WS_TABSTOP,4,66,281,58
+ LTEXT "Command>",IDC_KEYEDIT_CMDINF,110,134,42,8
+ COMBOBOX IDC_KEYEDIT_CMD,154,132,84,108,CBS_DROPDOWNLIST |
+ WS_VSCROLL | WS_TABSTOP
+ DEFPUSHBUTTON "&OK",IDOK,241,131,43,14
+ PUSHBUTTON "&Close",IDCANCEL,182,158,50,14
+ PUSHBUTTON "&Help",IDC_KEYEDIT_HELP,234,158,50,14
+ PUSHBUTTON "&Revoke...",IDC_KEYEDIT_REVOKE,4,158,58,14
+END
+
+IDD_WINPT_PROGRESS DIALOG DISCARDABLE 0, 0, 186, 58
+STYLE DS_MODALFRAME | WS_POPUP
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "What",IDC_PROGRESS_WHAT,5,9,160,11
+ LTEXT "Current",IDC_PROGRESS_CURR,5,23,74,10
+ LTEXT "/",IDC_STATIC,85,23,8,8
+ LTEXT "Total",IDC_PROGRESS_TOTAL,99,23,70,9
+ CONTROL "Progress1",IDC_PROGRESS_BAR,"msctls_progress32",
+ PBS_SMOOTH | WS_BORDER,5,41,173,9
+END
+
+IDD_WINPT_CARD_EDIT DIALOG DISCARDABLE 0, 0, 224, 267
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Card Edit"
+FONT 8, "MS Sans Serif"
+BEGIN
+ GROUPBOX "OpenPGP card",IDC_STATIC,6,7,205,222
+ LTEXT "Application ID",IDC_STATIC,11,20,45,8
+ EDITTEXT IDC_CEDIT_AID,61,20,145,12,ES_AUTOHSCROLL | ES_READONLY
+ LTEXT "Version",IDC_STATIC,11,35,24,8
+ EDITTEXT IDC_CEDIT_VERSION,61,35,57,12,ES_AUTOHSCROLL |
+ ES_READONLY
+ LTEXT "Serial",IDC_STATIC,124,36,18,8
+ EDITTEXT IDC_CEDIT_SERIAL,147,35,59,12,ES_AUTOHSCROLL |
+ ES_READONLY
+ LTEXT "Vendor",IDC_STATIC,11,50,24,8
+ EDITTEXT IDC_CEDIT_VENDOR,61,49,145,12,ES_AUTOHSCROLL |
+ ES_READONLY
+ LTEXT "Sig count",IDC_STATIC,11,64,31,8
+ EDITTEXT IDC_CEDIT_SIGCOUNT,61,62,56,12,ES_AUTOHSCROLL |
+ ES_READONLY
+ LTEXT "Sign-Fingerprint",IDC_STATIC,11,77,50,8
+ LTEXT "Static",IDC_CEDIT_SIG_FPRTIME,131,77,74,9
+ EDITTEXT IDC_CEDIT_FPR1,11,89,195,12,ES_AUTOHSCROLL | ES_READONLY
+ LTEXT "Decrypt-Fingerprint",IDC_STATIC,11,106,60,8
+ LTEXT "Static",IDC_CEDIT_DEC_FPRTIME,131,104,74,9
+ EDITTEXT IDC_CEDIT_FPR2,11,116,195,13,ES_AUTOHSCROLL |
+ ES_READONLY
+ LTEXT "Authentication-Fingerprint",IDC_STATIC,11,135,81,8
+ LTEXT "Static",IDC_CEDIT_AUTH_FPRTIME,131,133,75,9
+ EDITTEXT IDC_CEDIT_FPR3,11,146,195,13,ES_AUTOHSCROLL |
+ ES_READONLY
+ LTEXT "Name",IDC_CEDIT_NAMEINF,11,164,36,8
+ EDITTEXT IDC_CEDIT_NAME,50,163,83,12,ES_AUTOHSCROLL
+ EDITTEXT IDC_CEDIT_NAME2,136,163,71,12,ES_AUTOHSCROLL
+ LTEXT "Language",IDC_CEDIT_LANGINF,11,181,33,8
+ COMBOBOX IDC_CEDIT_LANG,50,179,30,42,CBS_DROPDOWN | WS_VSCROLL |
+ WS_TABSTOP
+ EDITTEXT IDC_CEDIT_LANG2,81,179,16,12,NOT WS_VISIBLE
+ LTEXT "Sex",IDC_CEDIT_SEXINF,100,180,22,8
+ COMBOBOX IDC_CEDIT_SEX,123,179,60,53,CBS_DROPDOWNLIST |
+ WS_VSCROLL | WS_TABSTOP
+ EDITTEXT IDC_CEDIT_SEX2,186,179,18,13,ES_AUTOHSCROLL | NOT
+ WS_VISIBLE
+ LTEXT "Key-URL",IDC_CEDIT_KURLINF,11,199,36,8
+ EDITTEXT IDC_CEDIT_KEYURL,50,197,148,12,ES_AUTOHSCROLL
+ LTEXT "Login",IDC_CEDIT_LOGINF,11,214,36,8
+ EDITTEXT IDC_CEDIT_LOGIN,50,212,105,12,ES_AUTOHSCROLL
+ PUSHBUTTON "Change &PIN",IDC_CEDIT_CHPIN,6,233,50,15
+ PUSHBUTTON "&New keys",IDC_CEDIT_NEWKEYS,6,249,50,13
+ DEFPUSHBUTTON "&OK",IDOK,107,233,50,14
+ PUSHBUTTON "&Exit",IDCANCEL,161,233,50,14
+END
+
+IDD_WINPT_PIN DIALOG DISCARDABLE 0, 0, 186, 103
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "PIN Dialog"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Static",IDC_PIN_INFO,9,8,166,40
+ EDITTEXT IDC_PIN_VALUE,10,54,163,12,ES_PASSWORD | ES_AUTOHSCROLL
+ DEFPUSHBUTTON "&OK",IDOK,90,85,44,14
+ PUSHBUTTON "&Cancel",IDCANCEL,135,85,44,14
+ CONTROL "&Hide Typing",IDC_PIN_HIDE,"Button",BS_AUTOCHECKBOX |
+ WS_TABSTOP,117,68,54,10
+END
+
+IDD_WINPT_CARD_CHPIN DIALOG DISCARDABLE 0, 0, 153, 143
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Change Card PIN"
+FONT 8, "MS Sans Serif"
+BEGIN
+ GROUPBOX "",IDC_STATIC,7,5,138,33
+ CONTROL "Admin PIN (min. 8 characters)",IDC_CHPIN_ISADMIN,"Button",
+ BS_AUTORADIOBUTTON,13,12,124,10
+ CONTROL "User PIN (min. 6 characters)",IDC_CHPIN_ISWORK,"Button",
+ BS_AUTORADIOBUTTON,13,26,122,10
+ LTEXT "Old PIN",IDC_STATIC,7,52,38,8
+ EDITTEXT IDC_CHPIN_OLDPIN,49,50,95,12,ES_PASSWORD |
+ ES_AUTOHSCROLL
+ LTEXT "New PIN",IDC_STATIC,7,72,39,8
+ EDITTEXT IDC_CHPIN_NEWPIN,49,69,95,12,ES_PASSWORD |
+ ES_AUTOHSCROLL
+ LTEXT "Repeat PIN",IDC_STATIC,7,87,38,8
+ EDITTEXT IDC_CHPIN_NEWPIN2,49,84,95,12,ES_PASSWORD |
+ ES_AUTOHSCROLL
+ CONTROL "&Hide Typing",IDC_CHPIN_HIDE,"Button",BS_AUTOCHECKBOX |
+ WS_TABSTOP,79,98,64,10
+ DEFPUSHBUTTON "&OK",IDOK,41,121,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,94,121,50,14
+END
+
+IDD_WINPT_CARD_KEYGEN DIALOG DISCARDABLE 0, 0, 197, 159
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Card Key Generation"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Pubkey algorithm",IDC_CKEYGEN_PKINF,7,8,62,8
+ COMBOBOX IDC_CKEYGEN_ALG,73,5,58,36,CBS_DROPDOWNLIST |
+ WS_DISABLED | WS_VSCROLL | WS_TABSTOP
+ LTEXT "&Name",IDC_CKEYGEN_NAMEINF,7,23,45,8
+ EDITTEXT IDC_CKEYGEN_NAME,73,19,110,12,ES_AUTOHSCROLL
+ LTEXT "&Comment (optional)",IDC_CKEYGEN_CMTINF,7,37,61,8
+ EDITTEXT IDC_CKEYGEN_COMMENT,73,35,110,12,ES_AUTOHSCROLL
+ LTEXT "Email &address",IDC_CKEYGEN_MAILINF,7,53,61,8
+ EDITTEXT IDC_CKEYGEN_EMAIL,73,50,110,13,ES_AUTOHSCROLL
+ LTEXT "&Expire date",IDC_CKEYGEN_EXPDATEINF,7,69,47,8
+ CONTROL "&Never",IDC_CKEYGEN_NEVER,"Button",BS_AUTOCHECKBOX |
+ WS_TABSTOP,73,68,45,10
+ CONTROL "DateTimePicker1",IDC_CKEYGEN_VALID,"SysDateTimePick32",
+ DTS_RIGHTALIGN | WS_TABSTOP,119,67,63,12
+ LTEXT "Off-card passphrase",IDC_CKEYGEN_PWDINF,7,83,64,8
+ EDITTEXT IDC_CKEYGEN_PASS,73,81,110,13,ES_PASSWORD |
+ ES_AUTOHSCROLL
+ GROUPBOX "",IDC_STATIC,5,98,184,32
+ CONTROL "Overwrite old keys on the card",IDC_CKEYGEN_REPLACE,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,9,106,175,10
+ CONTROL "Make off-card backup of encryption key",
+ IDC_CKEYGEN_BACKUP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
+ 9,118,174,10
+ DEFPUSHBUTTON "&Start",IDOK,88,141,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,141,141,50,14
+END
+
+IDD_WINPT_CARD_CTRL DIALOG DISCARDABLE 0, 0, 181, 95
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Card Control"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Static",IDC_CCTRL_MSG,5,11,165,36
+ EDITTEXT IDC_CCTRL_VAL,5,55,167,12,ES_AUTOHSCROLL | WS_DISABLED
+ DEFPUSHBUTTON "OK",IDOK,69,73,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,122,73,50,14
+END
+
+IDD_WINPT_ELGWARN DIALOG DISCARDABLE 0, 0, 199, 117
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "WARNING"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "The following keys are ElGamal sign+encrypt keys and should be considered as compromised.\n\nPlease see gnupg-users at gnupg.org archive for details.",
+ IDC_STATIC,2,3,180,34
+ LISTBOX IDC_ELGWARN_LIST,2,44,192,48,LBS_SORT |
+ LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
+ DEFPUSHBUTTON "OK",IDOK,144,98,50,14
+END
+
+IDD_WINPT_KEYEDIT_SETPREF DIALOG DISCARDABLE 0, 0, 176, 134
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Change Key Preferences"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Available preferences",IDC_STATIC,5,3,69,8
+ LISTBOX IDC_SETPREF_PREFLIST,5,12,77,44,LBS_SORT |
+ LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
+ LTEXT "New preferences",IDC_STATIC,90,3,55,8
+ LISTBOX IDC_SETPREF_LIST,90,13,77,44,LBS_NOINTEGRALHEIGHT |
+ WS_VSCROLL | WS_TABSTOP
+ PUSHBUTTON "<-->",IDC_SETPREF_UPDATE,63,61,47,12
+ CONTROL "Keyserver 'No Update' flag",IDC_SETPREF_KSNO,"Button",
+ BS_AUTOCHECKBOX | WS_TABSTOP,5,87,100,10
+ CONTROL "Features (Modification Detection Code [mdc])",
+ IDC_SETPREF_MDC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,5,
+ 99,158,10
+ DEFPUSHBUTTON "OK",IDOK,65,117,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,118,117,50,14
+END
+
+IDD_WINPT_CDISK_MOUNT DIALOG DISCARDABLE 0, 0, 177, 109
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
+CAPTION "Cryptdisk -- Mount Volume"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Volume ID",IDC_STATIC,8,8,34,8
+ COMBOBOX IDC_CDMOUNT_ID,8,19,40,45,CBS_DROPDOWNLIST | CBS_SORT |
+ WS_VSCROLL | WS_TABSTOP
+ LTEXT "Volume image file",IDC_STATIC,53,8,56,8
+ EDITTEXT IDC_CDMOUNT_IMGFILE,53,19,101,13,ES_AUTOHSCROLL
+ PUSHBUTTON "...",IDC_CDMOUNT_SELFILE,155,19,18,13
+ LTEXT "Mount as drive",IDC_STATIC,8,38,48,8
+ COMBOBOX IDC_CDMOUNT_DRV,61,36,41,46,CBS_DROPDOWN | CBS_SORT |
+ WS_VSCROLL | WS_TABSTOP
+ LTEXT "Passphrase to unprotect the volume",IDC_STATIC,8,56,114,
+ 8
+ EDITTEXT IDC_CDMOUNT_PASS,8,69,164,12,ES_PASSWORD |
+ ES_AUTOHSCROLL
+ DEFPUSHBUTTON "OK",IDOK,70,90,50,14
+ PUSHBUTTON "Cancel",IDCANCEL,121,90,50,14
+END
+
+IDD_WINPT_CDISK_UMOUNT DIALOG DISCARDABLE 0, 0, 186, 78
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
+CAPTION "Cryptdisk -- Umount Volume"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "List of all mounted volumes",IDC_STATIC,6,7,135,9
+ LISTBOX IDC_CDUMOUNT_LIST,6,19,173,32,LBS_SORT |
+ LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
+ DEFPUSHBUTTON "Umount",IDOK,75,58,50,14
+ PUSHBUTTON "Cancel",IDCANCEL,129,58,50,14
+END
+
+IDD_WINPT_HTTP DIALOG DISCARDABLE 0, 0, 186, 95
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
+CAPTION "HTTP Key Import"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Enter URL to retrieve the public key",IDC_HTTP_TITLE,6,
+ 6,166,8
+ EDITTEXT IDC_HTTP_URL,6,18,170,12,ES_AUTOHSCROLL
+ DEFPUSHBUTTON "OK",IDOK,77,73,50,14
+ PUSHBUTTON "Cancel",IDCANCEL,129,73,50,14
+END
+
+IDD_FILE_PREFS DIALOG DISCARDABLE 0, 0, 186, 63
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "File Manager Preferences"
+FONT 8, "MS Sans Serif"
+BEGIN
+ GROUPBOX "General options",IDC_STATIC,7,2,168,29
+ CONTROL "&Show progress bar for file operations",
+ IDC_FPREFS_PROGRESS,"Button",BS_AUTOCHECKBOX |
+ WS_TABSTOP,13,15,130,10
+ DEFPUSHBUTTON "OK",IDOK,80,45,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,131,45,50,14
+END
+
+IDD_WINPT_KEYSERVER_ADD DIALOG DISCARDABLE 0, 0, 183, 98
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Edit Keyserver"
+FONT 8, "MS Sans Serif"
+BEGIN
+ LTEXT "Type:",IDC_KSERVADD_TYPEINF,6,6,33,8
+ COMBOBOX IDC_KSERVADD_TYPES,58,5,96,45,CBS_DROPDOWNLIST |
+ WS_VSCROLL | WS_TABSTOP
+ LTEXT "Host name:",IDC_KSERVADD_HOSTINF,6,29,47,8
+ EDITTEXT IDC_KSERVADD_HOST,58,27,106,12,ES_AUTOHSCROLL
+ LTEXT "Port:",IDC_KSERVADD_PORTINF,6,48,31,8
+ EDITTEXT IDC_KSERVADD_PORT,58,49,43,12,ES_AUTOHSCROLL
+ DEFPUSHBUTTON "&Add",IDOK,74,80,50,14
+ PUSHBUTTON "&Cancel",IDCANCEL,128,80,50,14
+END
+
+IDD_WINPT_KEYSIG_TREE DIALOG DISCARDABLE 0, 0, 266, 205
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Key Signature Tree"
+FONT 8, "MS Sans Serif"
+BEGIN
+ CONTROL "Tree1",IDC_VKEYSIG_TREE,"SysTreeView32",TVS_HASBUTTONS |
+ TVS_HASLINES | TVS_LINESATROOT | WS_BORDER | WS_TABSTOP,
+ 2,5,257,174
+ PUSHBUTTON "Edit..",IDC_VKEYSIG_EDIT,1,186,54,14
+ DEFPUSHBUTTON "OK",IDOK,209,186,50,14
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// DESIGNINFO
+//
+
+#ifdef APSTUDIO_INVOKED
+GUIDELINES DESIGNINFO DISCARDABLE
+BEGIN
+ IDD_WINPT_ABOUT, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 262
+ TOPMARGIN, 7
+ BOTTOMMARGIN, 219
+ END
+
+ IDD_WINPT_CLIPEDIT, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 326
+ TOPMARGIN, 2
+ BOTTOMMARGIN, 242
+ END
+
+ IDD_WINPT_ENCRYPT, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 349
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 205
+ END
+
+ IDD_WINPT_DECRYPT, DIALOG
+ BEGIN
+ LEFTMARGIN, 4
+ RIGHTMARGIN, 229
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 161
+ END
+
+ IDD_WINPT_KEYSERVER, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 182
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 182
+ END
+
+ IDD_WINPT_SIGN, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 292
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 118
+ END
+
+ IDD_WINPT_KEYGEN, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 186
+ TOPMARGIN, 4
+ BOTTOMMARGIN, 162
+ END
+
+ IDD_WINPT_SIGNENC, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 377
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 187
+ END
+
+ IDD_WINPT_KEYMISC, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 465
+ TOPMARGIN, 4
+ BOTTOMMARGIN, 227
+ END
+
+ IDD_WINPT_ABOUTGPG, DIALOG
+ BEGIN
+ LEFTMARGIN, 4
+ RIGHTMARGIN, 279
+ TOPMARGIN, 4
+ BOTTOMMARGIN, 163
+ END
+
+ IDD_WINPT_KEYEDIT_OWNERTRUST, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 176
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 107
+ END
+
+ IDD_WINPT_KEYCACHE, DIALOG
+ BEGIN
+ LEFTMARGIN, 4
+ RIGHTMARGIN, 180
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 24
+ END
+
+ IDD_WINPT_KEYSIGN, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 312
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 206
+ END
+
+ IDD_WINPT_GPGPREFS, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 215
+ TOPMARGIN, 4
+ BOTTOMMARGIN, 204
+ END
+
+ IDD_WINPT_IMPORT, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 316
+ TOPMARGIN, 2
+ BOTTOMMARGIN, 113
+ END
+
+ IDD_WINPT_GPGOPT, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 327
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 136
+ END
+
+ IDD_WINPT_KEYSIG, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 344
+ TOPMARGIN, 4
+ BOTTOMMARGIN, 163
+ END
+
+ IDD_WINPT_VERIFY, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 389
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 99
+ END
+
+ IDD_WINPT_OWNERTRUST, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 176
+ TOPMARGIN, 2
+ BOTTOMMARGIN, 72
+ END
+
+ IDD_WINPT_KEYEDIT_ADDUID, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 175
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 77
+ END
+
+ IDD_WINPT_KEYEDIT_ADDSUBKEY, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 170
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 122
+ END
+
+ IDD_WINPT_PREFS, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 280
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 266
+ END
+
+ IDD_WINPT_HKPSEARCH, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 354
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 152
+ END
+
+ IDD_WINPT_FILE, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 331
+ TOPMARGIN, 2
+ BOTTOMMARGIN, 102
+ END
+
+ IDD_WINPT_FILE_SIGN, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 299
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 160
+ END
+
+ IDD_WINPT_FILE_ENCRYPT, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 342
+ TOPMARGIN, 2
+ BOTTOMMARGIN, 142
+ END
+
+ IDD_WINPT_KEYPROPS, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 208
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 189
+ END
+
+ IDD_WINPT_KEYTRUST, DIALOG
+ BEGIN
+ LEFTMARGIN, 4
+ RIGHTMARGIN, 339
+ TOPMARGIN, 2
+ BOTTOMMARGIN, 182
+ END
+
+ IDD_WINPT_KEYREVOKE, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 170
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 144
+ END
+
+ IDD_WINPT_PASSWD, DIALOG
+ BEGIN
+ LEFTMARGIN, 4
+ RIGHTMARGIN, 228
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 92
+ END
+
+ IDD_WINPT_DATE, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 88
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 51
+ END
+
+ IDD_WINPT_KEYPROG, DIALOG
+ BEGIN
+ LEFTMARGIN, 4
+ RIGHTMARGIN, 228
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 139
+ END
+
+ IDD_WINPT_DECRYPT_SIGN, DIALOG
+ BEGIN
+ LEFTMARGIN, 4
+ RIGHTMARGIN, 231
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 124
+ END
+
+ IDD_WINPT_GROUP, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 172
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 62
+ END
+
+ IDD_WINPT_TEXT, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 310
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 205
+ END
+
+ IDD_WINPT_KEYSERVER_PROXY, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 178
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 134
+ END
+
+ IDD_WINPT_FILE_STAT, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 302
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 128
+ END
+
+ IDD_WINPT_FILE_SAVE, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 190
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 77
+ END
+
+ IDD_WINPT_IMPORT_STAT, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 149
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 213
+ END
+
+ IDD_WINPT_FIRST, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 192
+ TOPMARGIN, 2
+ BOTTOMMARGIN, 82
+ END
+
+ IDD_WINPT_SIGCLASS, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 233
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 93
+ END
+
+ IDD_WINPT_KEYREVOKERS, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 221
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 103
+ END
+
+ IDD_WINPT_CONFDELCLIP, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 126
+ TOPMARGIN, 2
+ BOTTOMMARGIN, 71
+ END
+
+ IDD_WINPT_DATACB, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 120
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 29
+ END
+
+ IDD_WINPT_KEYEDIT_ADDREV, DIALOG
+ BEGIN
+ LEFTMARGIN, 4
+ RIGHTMARGIN, 208
+ TOPMARGIN, 4
+ BOTTOMMARGIN, 77
+ END
+
+ IDD_WINPT_KEYEDIT_ADDPHOTO, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 180
+ TOPMARGIN, 2
+ BOTTOMMARGIN, 109
+ END
+
+ IDD_WINPT_FILE_MDSUM, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 300
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 104
+ END
+
+ IDD_WINPT_KEYEDIT, DIALOG
+ BEGIN
+ LEFTMARGIN, 4
+ RIGHTMARGIN, 287
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 173
+ END
+
+ IDD_WINPT_PROGRESS, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 181
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 54
+ END
+
+ IDD_WINPT_CARD_EDIT, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 217
+ TOPMARGIN, 1
+ BOTTOMMARGIN, 263
+ END
+
+ IDD_WINPT_PIN, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 181
+ TOPMARGIN, 2
+ BOTTOMMARGIN, 100
+ END
+
+ IDD_WINPT_CARD_CHPIN, DIALOG
+ BEGIN
+ LEFTMARGIN, 4
+ RIGHTMARGIN, 149
+ TOPMARGIN, 4
+ BOTTOMMARGIN, 138
+ END
+
+ IDD_WINPT_CARD_KEYGEN, DIALOG
+ BEGIN
+ LEFTMARGIN, 1
+ RIGHTMARGIN, 191
+ TOPMARGIN, 1
+ BOTTOMMARGIN, 155
+ END
+
+ IDD_WINPT_CARD_CTRL, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 175
+ TOPMARGIN, 2
+ BOTTOMMARGIN, 91
+ END
+
+ IDD_WINPT_ELGWARN, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 194
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 112
+ END
+
+ IDD_WINPT_KEYEDIT_SETPREF, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 169
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 131
+ END
+
+ IDD_WINPT_CDISK_MOUNT, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 172
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 104
+ END
+
+ IDD_WINPT_CDISK_UMOUNT, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 181
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 72
+ END
+
+ IDD_WINPT_HTTP, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 179
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 88
+ END
+
+ IDD_FILE_PREFS, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 181
+ TOPMARGIN, 1
+ BOTTOMMARGIN, 59
+ END
+
+ IDD_WINPT_KEYSERVER_ADD, DIALOG
+ BEGIN
+ LEFTMARGIN, 3
+ RIGHTMARGIN, 178
+ TOPMARGIN, 1
+ BOTTOMMARGIN, 94
+ END
+
+ IDD_WINPT_KEYSIG_TREE, DIALOG
+ BEGIN
+ LEFTMARGIN, 2
+ RIGHTMARGIN, 259
+ TOPMARGIN, 3
+ BOTTOMMARGIN, 200
+ END
+END
+#endif // APSTUDIO_INVOKED
+
+
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 1,5,0,0
+ PRODUCTVERSION 1,5,0,0
+ FILEFLAGSMASK 0x3fL
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x40004L
+ FILETYPE 0x1L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "Comments", "This is Free Software under the terms of the GNU GPL version 2\0"
+ VALUE "CompanyName", "\0"
+ VALUE "FileDescription", "Windows Privacy Tray (WinPT)\0"
+ VALUE "FileVersion", "1.5.0\0"
+ VALUE "InternalName", "WinPT\0"
+ VALUE "LegalCopyright", " Copyright (C) 2009 Timo Schulz\0"
+ VALUE "LegalTrademarks", "\0"
+ VALUE "OriginalFilename", "WinPT.exe\0"
+ VALUE "PrivateBuild", "\0"
+ VALUE "ProductName", "Windows Privacy Tray\0"
+ VALUE "ProductVersion", "1.5.0\0"
+ VALUE "SpecialBuild", "2009-07-28T10:51+0200\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
+
+#endif // !_MAC
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Menu
+//
+
+IDR_WINPT MENU DISCARDABLE
+BEGIN
+ POPUP "WinPT"
+ BEGIN
+ MENUITEM "Key Manager", ID_WINPT_KEY
+ MENUITEM "File Manager", ID_WINPT_FILE
+ MENUITEM SEPARATOR
+ POPUP "Clipboard"
+ BEGIN
+ MENUITEM "&Edit", ID_WINPT_EDIT
+ MENUITEM SEPARATOR
+ MENUITEM "Symmetric", ID_WINPT_SYMENC
+ MENUITEM "Encrypt", ID_WINPT_ENCRYPT
+ MENUITEM "Sign && Encrypt", ID_WINPT_SIGNENCRYPT
+ MENUITEM "Sign", ID_WINPT_SIGN
+ MENUITEM SEPARATOR
+ MENUITEM "Decrypt/Verify", ID_WINPT_DECRYPT_VERIFY
+ END
+ POPUP "Current Window"
+ BEGIN
+ MENUITEM "Symmetric", ID_WINPT_CURRWND_SYMENC
+ MENUITEM "Encrypt", ID_WINPT_CURRWND_ENCRYPT
+ MENUITEM "Sign && Encrypt", ID_WINPT_CURRWND_SIGNENCRYPT
+
+ MENUITEM "Sign", ID_WINPT_CURRWND_SIGN
+ MENUITEM SEPARATOR
+ MENUITEM "Decrypt/Verify", ID_WINPT_CURRWND_DECRYPT_VERIFY
+
+ END
+ MENUITEM SEPARATOR
+ POPUP "Preferences"
+ BEGIN
+ MENUITEM "WinPT...", ID_WINPT_PREFS
+ MENUITEM "GPG...", ID_WINPT_GPGPREFS
+ END
+ MENUITEM SEPARATOR
+ MENUITEM "About...", ID_WINPT_ABOUT
+ MENUITEM "Exit", ID_WINPT_QUIT
+ END
+END
+
+IDR_WINPT_FILEMISC MENU DISCARDABLE
+BEGIN
+ POPUP "&File"
+ BEGIN
+ MENUITEM "&Open...", ID_FILEMISC_OPEN
+ MENUITEM "&List Packets", ID_FILEMISC_LIST
+ MENUITEM SEPARATOR
+ MENUITEM "&Encrypt", ID_FILEMISC_ENCRYPT
+ MENUITEM "&Decrypt", ID_FILEMISC_DECRYPT
+ MENUITEM SEPARATOR
+ MENUITEM "S&ymmetric", ID_FILEMISC_SYMENC
+ MENUITEM SEPARATOR
+ MENUITEM "Sign && Encrypt", ID_FILEMISC_SIGNENC
+ MENUITEM "&Sign", ID_FILEMISC_SIGN
+ MENUITEM "&Verify", ID_FILEMISC_VERIFY
+ MENUITEM SEPARATOR
+ MENUITEM "&Reset", ID_FILEMISC_CLEAR
+ MENUITEM "E&xit", ID_FILEMISC_QUIT
+ END
+ POPUP "&Edit"
+ BEGIN
+ MENUITEM "&Select All", ID_FILEMISC_SELALL
+ END
+ POPUP "&View"
+ BEGIN
+ MENUITEM "Always on Top", ID_FILEMISC_ONTOP, CHECKED
+ END
+END
+
+IDR_WINPT_KEYMISC MENU DISCARDABLE
+BEGIN
+ POPUP "&File"
+ BEGIN
+ MENUITEM "&Ownertrust", ID_KEYMISC_OT
+ MENUITEM SEPARATOR
+ MENUITEM "&Quit", ID_KEYMISC_QUIT
+ END
+ POPUP "&Edit"
+ BEGIN
+ MENUITEM "&Copy\tCtrl+C", ID_KEYMISC_COPY
+ MENUITEM "&Paste\tCtrl+P", ID_KEYMISC_PASTE
+ MENUITEM "&Delete", ID_KEYMISC_DELETE2
+ MENUITEM SEPARATOR
+ MENUITEM "Search...\tCtrl+F", ID_KEYMISC_FIND
+ MENUITEM SEPARATOR
+ MENUITEM "Select All\tCtrl+A", ID_KEYMISC_SELALL
+ MENUITEM SEPARATOR
+ POPUP "&Preferences..."
+ BEGIN
+ MENUITEM "GPG Options...", ID_KEYMISC_GPGOPT
+ MENUITEM "GPG Preferences...", ID_KEYMISC_GPGPREFS
+ MENUITEM "WinPT Preferences...", ID_KEYMISC_WINPTPREFS
+ END
+ END
+ POPUP "View"
+ BEGIN
+ MENUITEM "User ID", ID_KEYMISC_VIEWUID
+ , CHECKED, GRAYED
+ MENUITEM "Key ID", ID_KEYMISC_VIEWKEYID
+ , CHECKED, GRAYED
+ MENUITEM "Type", ID_KEYMISC_VIEWTYPE
+ , CHECKED, GRAYED
+ MENUITEM "Cipher", ID_KEYMISC_VIEWCIPHER
+ , CHECKED, GRAYED
+ MENUITEM "Creation", ID_KEYMISC_VIEWCREAT
+ , CHECKED, GRAYED
+ END
+ POPUP "&Key"
+ BEGIN
+ POPUP "&New"
+ BEGIN
+ MENUITEM "&Normal...", ID_KEYMISC_KEYWIZARD
+ MENUITEM "&Expert...", ID_KEYMISC_NEWKEY
+ END
+ MENUITEM "&Delete", ID_KEYMISC_DELETE
+ MENUITEM SEPARATOR
+ MENUITEM "&Edit", ID_KEYMISC_EDITKEY
+ MENUITEM "&Properties", ID_KEYMISC_PROPS
+ MENUITEM SEPARATOR
+ MENUITEM "Import via HTTP...", ID_KEYMISC_IMPORT_HTTP
+ MENUITEM "&Import...", ID_KEYMISC_IMPORT
+ MENUITEM "&Export...", ID_KEYMISC_EXPORT
+ MENUITEM "E&xport Secret Key", ID_KEYMISC_EXPORT_PRIVKEY
+ MENUITEM SEPARATOR
+ MENUITEM "&Sign...", ID_KEYMISC_SIGN
+ MENUITEM "&List Signatures...", ID_KEYMISC_CHECKSIGS
+ MENUITEM "&Revoke Cert...", ID_KEYMISC_REVCERT
+ MENUITEM SEPARATOR
+ MENUITEM "Refresh &Keys (Keyserver)", ID_KEYMISC_REFRESH_KEYS
+ MENUITEM "Re&load Key Cache", ID_KEYMISC_RECACHE
+ MENUITEM "R&everify Signatures", ID_KEYMISC_REBUILD
+ END
+ MENUITEM "Key&server", ID_KEYMISC_SENDRECV
+ POPUP "&?"
+ BEGIN
+ MENUITEM "WinPT &Website", ID_KEYMISC_WEBSITE
+ MENUITEM "&Developer Website", ID_KEYMISC_DEVWWW
+ MENUITEM "FAQ (WWW)", ID_KEYMISC_FAQWWW
+ MENUITEM SEPARATOR
+ MENUITEM "&Info", ID_KEYMISC_INFO
+ END
+END
+
+IDR_WINPT_KEYMISC_CTX MENU DISCARDABLE
+BEGIN
+ POPUP "Context menu"
+ BEGIN
+ POPUP "Attributes"
+ BEGIN
+ MENUITEM "Copy User ID to Clipboard", ID_KEYCTX_UID_COPY
+ MENUITEM "Copy E-Mail to Clipboard", ID_KEYCTX_EMAIL_COPY
+ MENUITEM "Copy Key ID to Clipboard", ID_KEYCTX_KEYID_COPY
+ MENUITEM "Copy Fingerprint to Clipboard", ID_KEYCTX_FPR_COPY
+ MENUITEM "Copy Key Info to Clipboard", ID_KEYCTX_KINFO_COPY
+ END
+ MENUITEM SEPARATOR
+ MENUITEM "&Copy Key to Clipboard", ID_KEYCTX_COPY
+ MENUITEM "&Paste Key from Clipboard", ID_KEYCTX_PASTE
+ MENUITEM "Send Key to Mail Recipient", ID_KEYCTX_SENDMAIL
+ MENUITEM "&Delete", ID_KEYCTX_DEL
+ MENUITEM SEPARATOR
+ POPUP "Add"
+ BEGIN
+ MENUITEM "Key...", ID_KEYCTX_ADDKEY
+ MENUITEM "User ID...", ID_KEYCTX_ADDUID
+ MENUITEM "Photo ID...", ID_KEYCTX_ADDPHOTO
+ MENUITEM "Revoker...", ID_KEYCTX_ADDREV
+ END
+ MENUITEM SEPARATOR
+ MENUITEM "&Edit", ID_KEYCTX_EDIT
+ MENUITEM "&Sign", ID_KEYCTX_SIGN
+ MENUITEM "&List Signatures", ID_KEYCTX_LISTSIGS
+ MENUITEM SEPARATOR
+ MENUITEM "Set preferred Keyserver", ID_KEYCTX_SETPREFKS
+ MENUITEM "Re&fresh from Keyserver", ID_KEYCTX_RECVFROM
+ POPUP "Send to Keyserver"
+ BEGIN
+ MENUITEM "Default Keyserver", ID_KEYCTX_KS_DEFAULT
+ MENUITEM SEPARATOR
+ END
+ MENUITEM SEPARATOR
+ MENUITEM "&Enable", ID_KEYCTX_ENABLE
+ MENUITEM "&Disable", ID_KEYCTX_DISABLE
+ MENUITEM "Set Implicit &Trust", ID_KEYCTX_MAXTRUST, GRAYED
+ MENUITEM "Set as Default Key", ID_KEYCTX_SETDEFKEY, GRAYED
+ MENUITEM SEPARATOR
+ MENUITEM "&Properties", ID_KEYCTX_PROPS
+ END
+END
+
+IDR_WINPT_FILEMISC_CTX MENU DISCARDABLE
+BEGIN
+ POPUP "Context menu"
+ BEGIN
+ MENUITEM "Encrypt", ID_FILECTX_ENCRYPT
+ MENUITEM "Decrypt", ID_FILECTX_DECRYPT
+ MENUITEM SEPARATOR
+ MENUITEM "Sign && Encrypt", ID_FILECTX_SIGNENC
+ MENUITEM "Sign", ID_FILECTX_SIGN
+ MENUITEM "Verify", ID_FILECTX_VERIFY
+ MENUITEM SEPARATOR
+ MENUITEM "List Packets", ID_FILECTX_LIST
+ END
+END
+
+IDR_WINPT_GROUP_CTX MENU DISCARDABLE
+BEGIN
+ POPUP "Context menu"
+ BEGIN
+ MENUITEM "Paste into this Group", ID_GROUP_PASTE
+ MENUITEM "Delete", ID_GROUP_DELETE
+ END
+END
+
+IDR_WINPT_KEYSIG_CTX MENU DISCARDABLE
+BEGIN
+ POPUP "Context menu"
+ BEGIN
+ MENUITEM "Signature &Properties", ID_SIGCTX_PROPS
+ MENUITEM "Signing &Key Properties", ID_SIGCTX_KEYPROPS
+ END
+END
+
+IDR_WINPT_KEUID_CTX MENU DISCARDABLE
+BEGIN
+ POPUP "Context Menu"
+ BEGIN
+ MENUITEM "&Add", ID_KEUID_ADD
+ MENUITEM "&Primary", ID_KEUID_PRIMARY
+ MENUITEM "&Delete", ID_KEUID_DEL
+ END
+END
+
+IDR_WINPT_CLIPEDIT MENU DISCARDABLE
+BEGIN
+ POPUP "&File"
+ BEGIN
+ MENUITEM "Open...", ID_CLIPEDIT_OPEN
+ MENUITEM "&Save...", ID_CLIPEDIT_SAVE
+ MENUITEM SEPARATOR
+ MENUITEM "&Exit", ID_CLIPEDIT_QUIT
+ END
+ POPUP "&Edit"
+ BEGIN
+ MENUITEM "&Copy", ID_CLIPEDIT_COPY
+ MENUITEM "&Paste", ID_CLIPEDIT_PASTE
+ MENUITEM "&Clear", ID_CLIPEDIT_CLEAR
+ MENUITEM SEPARATOR
+ MENUITEM "&Quote", ID_CLIPEDIT_QUOTE
+ END
+ POPUP "&GPG"
+ BEGIN
+ MENUITEM "&Encrypt", ID_CLIPEDIT_ENC
+ MENUITEM "&Decrypt", ID_CLIPEDIT_DEC
+ END
+END
+
+IDR_WINPT_KEYSERVER_CTX MENU DISCARDABLE
+BEGIN
+ POPUP "Contextmenu"
+ BEGIN
+ MENUITEM "&Add Preferred", ID_KSERVCTX_ADD
+ MENUITEM "&Remove Preferred", ID_KSERVCTX_DEL
+ END
+END
+
+IDR_WINPT_KEYEDIT MENU DISCARDABLE
+BEGIN
+ POPUP "Context menu"
+ BEGIN
+ MENUITEM "Flag user ID as &primary", ID_KEYEDIT_UID_PRIM
+ MENUITEM "&Delete user ID", ID_KEYEDIT_UID_DEL
+ MENUITEM "&Revoke user ID", ID_KEYEDIT_UID_REV
+ END
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Accelerator
+//
+
+IDR_WINPT_ACCELERATOR ACCELERATORS DISCARDABLE
+BEGIN
+ "C", ID_KEYCTX_COPY, VIRTKEY, CONTROL, NOINVERT
+ "V", ID_KEYCTX_PASTE, VIRTKEY, CONTROL, NOINVERT
+END
+
+#endif // Englisch (USA) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
Modified: trunk/Src/versioninfo.rc.in
===================================================================
--- trunk/Src/versioninfo.rc.in 2011-12-03 18:21:17 UTC (rev 354)
+++ trunk/Src/versioninfo.rc.in 2011-12-03 18:59:01 UTC (rev 355)
@@ -36,7 +36,7 @@
VALUE "FileDescription", "Windows Privacy Tray (WinPT)\0"
VALUE "FileVersion", "@VERSION@\0"
VALUE "InternalName", "WinPT\0"
- VALUE "LegalCopyright", " Copyright (C) 2006 Timo Schulz\0"
+ VALUE "LegalCopyright", " Copyright (C) 2011 Timo Schulz\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "WinPT.exe\0"
VALUE "PrivateBuild", "\0"
Modified: trunk/Src/wptGPG.cpp
===================================================================
--- trunk/Src/wptGPG.cpp 2011-12-03 18:21:17 UTC (rev 354)
+++ trunk/Src/wptGPG.cpp 2011-12-03 18:59:01 UTC (rev 355)
@@ -64,14 +64,11 @@
multi_gnupg_path (int strict)
{
static char buf[MAX_PATH+64];
- BOOL ec;
/* MSDN: buf must be at least MAX_PATH=256 bytes */
memset (buf, 0, sizeof (buf));
- /* XXX: ec should be NOERROR (MSDN) but NOERROR is defined as '0' !? */
- ec = SHGetSpecialFolderPath (HWND_DESKTOP, buf, CSIDL_APPDATA, TRUE);
- if (ec != 1) {
- log_debug ("multi_gnupg_path: SHGetSpecialFolderPath() failed\r\n",
+ if (!SHGetSpecialFolderPath (HWND_DESKTOP, buf, CSIDL_APPDATA, TRUE)) {
+ log_debug ("multi_gnupg_path: SHGetSpecialFolderPath() failed with: %d\r\n",
(int)GetLastError ());
return NULL;
}
@@ -87,9 +84,7 @@
char*
get_gnupg_path (void)
{
- char *path;
-
- path = get_reg_entry_gpg (GPG_REG_HOME);
+ char *path = get_reg_entry_gpg (GPG_REG_HOME);
if (path && dir_exist_check (path) == 0)
return path;
free_if_alloc (path);
@@ -102,13 +97,10 @@
char*
get_gnupg_cfgfile (void)
{
- char *optfile;
- char *path;
-
- path = get_gnupg_path ();
+ char *path = get_gnupg_path ();
if (!path)
return NULL;
- optfile = make_filename (path, GPG_CONF, NULL);
+ char *optfile = make_filename (path, GPG_CONF, NULL);
free_if_alloc (path);
return optfile;
@@ -121,10 +113,8 @@
config_file_t opt;
conf_option_t e;
char *kring = NULL;
- int rc;
- rc = parse_config (fname, &opt);
- if (rc)
+ if (parse_config (fname, &opt))
return NULL;
if (pub)
e = conf_find_option (opt, "keyring");
@@ -337,7 +327,7 @@
char *p;
char *tmp = m_strdup(buf);
- int pos=0;
+ int pos = 0;
while ((p = strsep(&tmp, ".")) != NULL) {
switch (++pos) {
case 1: *major = atoi (p); break;
@@ -433,12 +423,9 @@
static void
create_empty_keyring (int _pub)
{
- char *name;
- FILE *fp;
-
- name = get_gnupg_keyring (_pub, 0);
+ char *name = get_gnupg_keyring (_pub, 0);
if (name && file_exist_check (name) != 0) {
- fp = fopen (name, "ab");
+ FILE *fp = fopen (name, "ab");
if (fp != NULL)
fclose (fp);
}
Modified: trunk/Src/wptW32API.cpp
===================================================================
--- trunk/Src/wptW32API.cpp 2011-12-03 18:21:17 UTC (rev 354)
+++ trunk/Src/wptW32API.cpp 2011-12-03 18:59:01 UTC (rev 355)
@@ -493,51 +493,8 @@
}
-/* Retrieve the product verion of the given file @fname.
- Format: MAJOR.MINOR.PATCH1.PATCH2
- Return value: 0 on success. */
-int
-get_file_version (const char *fname,
- WORD *major, WORD *minor, WORD *patch1, WORD *patch2)
-{
- VS_FIXEDFILEINFO *inf;
- char file[MAX_PATH+1] = {0};
- LPVOID buf, data;
- DWORD arg;
- DWORD size;
- UINT qlen;
- strncpy (file, fname, MAX_PATH);
- size = GetFileVersionInfoSize (file, &arg);
- if (!size)
- return -1;
- buf = (LPVOID)new char[size];
- if (!buf)
- BUG (NULL);
- GetFileVersionInfo (file, 0, size, buf);
- qlen=0;
- VerQueryValue (buf, (char*)"\\", &data, &qlen);
- if (!qlen) {
- delete [](char*)buf;
- return -1;
- }
- inf = (VS_FIXEDFILEINFO*)data;
-
- if (major)
- *major = HIWORD (inf->dwProductVersionMS);
- if (minor)
- *minor = LOWORD (inf->dwProductVersionMS);
- if (patch1)
- *patch1 = HIWORD (inf->dwProductVersionLS);
- if (patch2)
- *patch2 = LOWORD (inf->dwProductVersionLS);
-
- delete [](char*)buf;
- return 0;
-}
-
-
/* Return date in a format which complies with the
locale user settings. */
const char*
@@ -699,9 +656,6 @@
BOOL admin = FALSE;
PSID psid = 0;
- if (GetVersion () & 0x80000000) /* Win9X */
- return TRUE;
-
if (!OpenThreadToken (GetCurrentThread (), TOKEN_QUERY, FALSE, &hd) &&
!OpenProcessToken (GetCurrentProcess (), TOKEN_QUERY, &hd))
return FALSE;
@@ -712,8 +666,7 @@
if (!ptg)
return FALSE;
- if (!GetTokenInformation (hd, TokenGroups,
- ptg, ngtoken, &ngtoken)) {
+ if (!GetTokenInformation (hd, TokenGroups, ptg, ngtoken, &ngtoken)) {
GlobalFree (ptg);
return FALSE;
}
More information about the Winpt-commits
mailing list