Add weird XML manifest resources, to enable WinXP skins to work
[u/mdw/putty] / pageant.rc
1 /* Some compilers, like Borland, don't have winresrc.h */
2 #ifndef NO_WINRESRC_H
3 #include <winresrc.h>
4 #endif
5
6 /* Some systems don't define this, so I do it myself if necessary */
7 #ifndef RT_MANIFEST
8 #define RT_MANIFEST 24
9 #endif
10
11 200 ICON "pageant.ico"
12 201 ICON "pageants.ico"
13
14 210 DIALOG DISCARDABLE 0, 0, 140, 60
15 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
16 CAPTION "Pageant: Enter Passphrase"
17 FONT 8, "MS Sans Serif"
18 BEGIN
19 CTEXT "Enter passphrase for key", 100, 10, 6, 120, 8
20 CTEXT "", 101, 10, 16, 120, 8
21 EDITTEXT 102, 10, 26, 120, 12, ES_PASSWORD | ES_AUTOHSCROLL
22 DEFPUSHBUTTON "O&K", IDOK, 20, 42, 40, 14
23 PUSHBUTTON "&Cancel", IDCANCEL, 80, 42, 40, 14
24 END
25
26 211 DIALOG DISCARDABLE 0, 0, 330, 200
27 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
28 CAPTION "Pageant Key List"
29 FONT 8, "MS Sans Serif"
30 BEGIN
31 LISTBOX 100, 10, 10, 310, 155,
32 LBS_EXTENDEDSEL | LBS_HASSTRINGS | LBS_USETABSTOPS | WS_VSCROLL | WS_TABSTOP
33 PUSHBUTTON "&Add Key", 101, 75, 162, 60, 14
34 PUSHBUTTON "&Remove Key", 102, 195, 162, 60, 14
35 PUSHBUTTON "&Help", 103, 10, 182, 50, 14
36 DEFPUSHBUTTON "&Close", IDOK, 270, 182, 50, 14
37 END
38
39 /* Accelerators used: cl */
40 213 DIALOG DISCARDABLE 140, 40, 136, 70
41 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
42 CAPTION "About Pageant"
43 FONT 8, "MS Sans Serif"
44 BEGIN
45 DEFPUSHBUTTON "&Close", IDOK, 82, 52, 48, 14
46 PUSHBUTTON "View &Licence", 101, 6, 52, 70, 14
47 CTEXT "Pageant", 102, 10, 6, 120, 8
48 CTEXT "", 100, 10, 16, 120, 16
49 CTEXT "\251 1997-2001 Simon Tatham. All rights reserved.",
50 103, 10, 34, 120, 16
51 END
52
53 /* No accelerators used */
54 214 DIALOG DISCARDABLE 50, 50, 226, 255
55 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
56 CAPTION "PuTTY Licence"
57 FONT 8, "MS Sans Serif"
58 BEGIN
59 DEFPUSHBUTTON "OK", IDOK, 98, 235, 44, 14
60
61 LTEXT "Copyright \251 1997-2001 Simon Tatham", 1000, 10, 10, 206, 8
62
63 LTEXT "Portions copyright Robert de Bath, Joris van Rantwijk, Delian", 1001, 10, 26, 206, 8
64 LTEXT "Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas", 1002, 10, 34, 206, 8
65 LTEXT "Barry.", 1003, 10, 42, 206, 8
66
67 LTEXT "Permission is hereby granted, free of charge, to any person", 1004, 10, 58, 206, 8
68 LTEXT "obtaining a copy of this software and associated documentation", 1005, 10, 66, 206, 8
69 LTEXT "files (the ""Software""), to deal in the Software without restriction,", 1006, 10, 74, 206, 8
70 LTEXT "including without limitation the rights to use, copy, modify, merge,", 1007, 10, 82, 206, 8
71 LTEXT "publish, distribute, sublicense, and/or sell copies of the Software,", 1008, 10, 90, 206, 8
72 LTEXT "and to permit persons to whom the Software is furnished to do so,", 1009, 10, 98, 206, 8
73 LTEXT "subject to the following conditions:", 1010, 10, 106, 206, 8
74
75 LTEXT "The above copyright notice and this permission notice shall be", 1011, 10, 122, 206, 8
76 LTEXT "included in all copies or substantial portions of the Software.", 1012, 10, 130, 206, 8
77
78 LTEXT "THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT", 1013, 10, 146, 206, 8
79 LTEXT "WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,", 1014, 10, 154, 206, 8
80 LTEXT "INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF", 1015, 10, 162, 206, 8
81 LTEXT "MERCHANTABILITY, FITNESS FOR A PARTICULAR", 1016, 10, 170, 206, 8
82 LTEXT "PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE", 1017, 10, 178, 206, 8
83 LTEXT "COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES", 1018, 10, 186, 206, 8
84 LTEXT "OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,", 1019, 10, 194, 206, 8
85 LTEXT "TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN", 1020, 10, 202, 206, 8
86 LTEXT "CONNECTION WITH THE SOFTWARE OR THE USE OR", 1021, 10, 210, 206, 8
87 LTEXT "OTHER DEALINGS IN THE SOFTWARE.", 1022, 10, 218, 206, 8
88
89 END
90
91 1 RT_MANIFEST "pageant.mft"