2 * Copyright 1995 Alexandre Julliard
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #include "filedlgbrowser.h"
23 * WARNING: DO NOT CHANGE THE SIZE OF THE STANDARD DIALOG TEMPLATES.
26 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
28 OPEN_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
29 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
31 FONT 8, "MS Shell Dlg"
33 LTEXT "File &Name:", 1090, 6, 6, 76, 9
34 EDITTEXT edt1, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
35 LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
36 LTEXT "&Directories:", -1, 110, 6, 92, 9
37 LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
38 LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
39 LTEXT "List Files of &Type:", 1089, 6, 104, 90, 9
40 COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
41 LTEXT "Dri&ves:", 1091, 110, 104, 92, 9
42 COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
43 DEFPUSHBUTTON "Open", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
44 PUSHBUTTON "Cancel", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
45 PUSHBUTTON "&Help", pshHelp, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
46 CHECKBOX "&Read Only", chx1, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
50 SAVE_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
51 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
53 FONT 8, "MS Shell Dlg"
55 LTEXT "File &Name:", 1090, 6, 6, 76, 9
56 EDITTEXT edt1, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
57 LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
58 LTEXT "&Directories:", -1, 110, 6, 92, 9
59 LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
60 LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
61 LTEXT "List Files of &Type:", 1089, 6, 104, 90, 9
62 COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
63 LTEXT "Dri&ves:", 1091, 110, 104, 92, 9
64 COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
65 DEFPUSHBUTTON "Save As", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
66 PUSHBUTTON "Cancel", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
67 PUSHBUTTON "&Help", pshHelp, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
68 CHECKBOX "&Read Only", chx1, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
72 PRINT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
73 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
75 FONT 8, "MS Shell Dlg"
77 LTEXT "Printer:", 1088, 6, 6, 40, 9
78 LTEXT "", 1089, 60, 6, 150, 9
79 GROUPBOX "Print Range", grp1, 6, 30, 160, 65, BS_GROUPBOX
80 RADIOBUTTON "&All", rad1, 16, 45, 60, 12
81 RADIOBUTTON "S&election", rad2, 16, 60, 60, 12
82 RADIOBUTTON "&Pages", rad3, 16, 75, 60, 12
83 DEFPUSHBUTTON "Print", 1, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
84 PUSHBUTTON "Cancel", 2, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
85 PUSHBUTTON "&Setup", psh1, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
86 LTEXT "&From:", 1090, 60, 80, 30, 9
87 LTEXT "&To:", 1091, 120, 80, 30, 9
88 LTEXT "Print &Quality:", 1092, 6, 100, 76, 9
89 COMBOBOX cmb1, 80, 100, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
90 CHECKBOX "Print to Fi&le", chx1, 20, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
91 CHECKBOX "Condensed", chx2, 160, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
95 PRINT_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
96 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
98 FONT 8, "MS Shell Dlg"
100 GROUPBOX "Printer", grp1, 6, 10, 180, 65, BS_GROUPBOX
101 RADIOBUTTON "&Default Printer", rad1, 16, 20, 80, 12
102 LTEXT "[none]", 1088, 35, 35, 120, 9
103 RADIOBUTTON "Specific &Printer", rad2, 16, 50, 80, 12
104 COMBOBOX cmb1, 35, 65, 149, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
105 DEFPUSHBUTTON "OK", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
106 PUSHBUTTON "Cancel", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
107 PUSHBUTTON "&Setup", psh1, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
108 GROUPBOX "Orientation", grp2, 6, 85, 100, 50, BS_GROUPBOX
109 RADIOBUTTON "Po&rtrait", rad3, 50, 100, 50, 12
110 RADIOBUTTON "&Landscape", rad4, 50, 115, 50, 12
111 ICON "LANDSCAP", stc10, 10, 95, 32, 32
112 ICON "PORTRAIT", stc11, 10, 95, 32, 32
113 GROUPBOX "Paper", grp3, 120, 85, 180, 50, BS_GROUPBOX
114 LTEXT "Si&ze", 1089, 130, 95, 30, 9
115 LTEXT "&Source", 1090, 130, 110, 30, 9
116 COMBOBOX cmb2, 155, 95, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
117 COMBOBOX cmb3, 155, 110, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
121 CHOOSE_FONT DIALOG DISCARDABLE 13, 54, 264, 147
122 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
124 FONT 8, "MS Shell Dlg"
126 LTEXT "&Font:",stc1 ,6,3,40,9
127 COMBOBOX cmb1, 6,13,94,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
128 CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
129 LTEXT "Font St&yle:",stc2 ,108,3,44,9
130 COMBOBOX cmb2,108,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
131 WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
132 LTEXT "&Size:",stc3,179,3,30,9
133 COMBOBOX cmb3,179,13,32,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
134 WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT
135 DEFPUSHBUTTON "OK",IDOK,218,6,40,14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
136 PUSHBUTTON "Cancel",IDCANCEL,218,23,40,14,WS_GROUP | WS_TABSTOP
137 PUSHBUTTON "&Apply", psh3,218,40,40,14,WS_GROUP | WS_TABSTOP
138 PUSHBUTTON "&Help" , pshHelp,218,57,40,14,WS_GROUP | WS_TABSTOP
139 GROUPBOX "Effects",grp1,6,72,84,34,WS_GROUP
140 CHECKBOX "Stri&keout", chx1, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
141 CHECKBOX "&Underline", chx2, 10,94,50,10, BS_AUTOCHECKBOX
142 LTEXT "&Color:", stc4 ,6,110,30,9
143 COMBOBOX cmb4,6,120,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
144 CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
145 GROUPBOX "Sample",grp2,98,72,120,36,WS_GROUP
146 CTEXT "AaBbYyZz",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
147 LTEXT "Scr&ipt:",stc7 ,98,114,40,9
148 COMBOBOX cmb5,98,124,120,90,CBS_DROPDOWNLIST | CBS_HASSTRINGS |
149 CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
153 CHOOSE_COLOR DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 300, 185
154 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
156 FONT 8, "MS Shell Dlg"
158 LTEXT "&Basic Colors:", 1088, 4, 4, 140, 10
159 LTEXT "&Custom Colors:", 1089, 4, 106, 140, 10
160 LTEXT "Color | Sol&id", 1090, 150, 151, 48, 10
161 LTEXT "&Red:", 726 /*1094*/,249,126,24,10
162 EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
163 LTEXT "&Green:",727/*1095*/,249,140,24,10
164 EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
165 LTEXT "&Blue:",728 /*1096*/,249,154,24,10
166 EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
167 LTEXT "&Hue:" ,723 /*1091*/,202,126,22,10
168 EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
169 LTEXT "&Sat:" ,724 /*1092*/,202,140,22,10
170 EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
171 LTEXT "&Lum:" ,725 /*1093*/,202,154,22,10
172 EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
173 CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
174 CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
175 CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
176 CONTROL "" ,702,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 278,4,8,116
177 CONTROL "" ,709,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,124,40,26
178 DEFPUSHBUTTON "OK", 1, 4, 166, 44, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
179 PUSHBUTTON "Cancel", 2, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
180 PUSHBUTTON "Help", pshHelp,100,166, 44, 14
181 PUSHBUTTON "&Add to Custom Colors", 712/*1024*/, 152, 166, 142, 14, WS_GROUP | WS_TABSTOP
182 PUSHBUTTON "&Define Custom Colors >>", 719/*1025*/, 4, 150, 142, 14, WS_GROUP | WS_TABSTOP
183 PUSHBUTTON "&i",713,300,200,4,14 /* just a dummy: 'i' is like &i in "sol&id" */
187 FINDDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 236, 62
188 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
190 FONT 8, "MS Shell Dlg"
192 LTEXT "Fi&nd What:", -1, 4, 8, 42, 8
193 EDITTEXT edt1, 47, 7, 128, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
194 CHECKBOX "Match &Whole Word Only", chx1, 4, 26, 100, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
195 CHECKBOX "Match &Case", chx2, 4, 42, 64, 12, BS_AUTOCHECKBOX | WS_TABSTOP
196 GROUPBOX "Direction", grp1, 107, 26, 68, 28
197 CONTROL "&Up", rad1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 111, 38, 30, 12
198 CONTROL "&Down", rad2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 38, 30, 12
200 DEFPUSHBUTTON "&Find Next", IDOK, 182, 5, 50, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
201 PUSHBUTTON "Cancel", IDCANCEL , 182, 23, 50, 14, WS_GROUP | WS_TABSTOP
202 PUSHBUTTON "&Help", pshHelp , 182, 45, 50, 14, WS_GROUP | WS_TABSTOP
206 REPLACEDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 230, 94
207 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
209 FONT 8, "MS Shell Dlg"
211 LTEXT "Fi&nd What:", -1, 4, 9, 48, 8
212 EDITTEXT edt1, 54, 7, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
213 LTEXT "Re&place With:", -1, 4, 26, 48, 8
214 EDITTEXT edt2, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
215 CHECKBOX "Match &Whole Word Only", chx1, 5, 46, 104, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
216 CHECKBOX "Match &Case", chx2, 5, 62, 59, 12, BS_AUTOCHECKBOX | WS_TABSTOP
218 DEFPUSHBUTTON "&Find Next", IDOK, 174, 4, 50, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
219 PUSHBUTTON "&Replace", psh1 , 174, 21, 50, 14, WS_GROUP | WS_TABSTOP
220 PUSHBUTTON "Replace &All", psh2 , 174, 38, 50, 14, WS_GROUP | WS_TABSTOP
221 PUSHBUTTON "Cancel", IDCANCEL , 174, 55, 50, 14, WS_GROUP | WS_TABSTOP
222 PUSHBUTTON "&Help", pshHelp , 174, 75, 50, 14, WS_GROUP | WS_TABSTOP
226 PRINT32 DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 288, 186
227 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
228 DS_CONTEXTHELP | DS_3DLOOK
230 FONT 8, "MS Shell Dlg"
232 DEFPUSHBUTTON "OK", IDOK, 180,164, 48,14, WS_GROUP | BS_DEFPUSHBUTTON
233 PUSHBUTTON "Cancel", IDCANCEL, 232,164, 48,14, WS_GROUP
234 PUSHBUTTON "&Help", pshHelp, 50, 161, 48,14, WS_GROUP
236 GROUPBOX "Printer", grp4, 8, 4, 272,84, WS_GROUP
237 CONTROL "Print to fi&le", chx1, "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,212,70,64,12
238 PUSHBUTTON "&Properties", psh2, 212, 17, 60,14, WS_GROUP
239 LTEXT "&Name:", stc6, 16, 20, 36,8
240 COMBOBOX cmb4, 52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
241 LTEXT "Status:", stc8, 16, 36, 36,10, SS_NOPREFIX
242 LTEXT "Dummy State", stc12, 52, 36, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
243 LTEXT "Type:", stc7, 16, 48, 36,10, SS_NOPREFIX
244 LTEXT "Dummy Type", stc11, 52, 48, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
245 LTEXT "Where:", stc10, 16, 60, 36,10, SS_NOPREFIX
246 LTEXT "Dummy Location", stc14, 52, 60, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
247 LTEXT "Comment:", stc9, 16, 72, 36,10, SS_NOPREFIX
248 LTEXT "Dummy Remark", stc13, 52, 72, 152,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
250 GROUPBOX "Copies", grp2, 160, 92, 120,64, WS_GROUP
251 LTEXT "Number of &copies:",stc5,168,108,68,8
252 ICON "", ico3, 162,124, 76,24, WS_GROUP | SS_CENTERIMAGE
253 CONTROL "C&ollate", chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,240,130,36,12
254 EDITTEXT edt3, 240,106, 32,12, WS_GROUP | ES_NUMBER
256 GROUPBOX "Print range", grp1, 8,92, 144,64, WS_GROUP
257 CONTROL "&All", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,106,64,12
258 CONTROL "Pa&ges", rad3,"Button",BS_AUTORADIOBUTTON,16,122,36,12
259 CONTROL "&Selection", rad2,"Button",BS_AUTORADIOBUTTON,16,138,64,12
260 EDITTEXT edt1, 74,122, 26,12, WS_GROUP | ES_NUMBER
261 EDITTEXT edt2, 118,122, 26,12, WS_GROUP | ES_NUMBER
262 RTEXT "&from:", stc2, 52,124, 20,8
263 RTEXT "&to:", stc3, 100,124, 16,8
266 PRINT32_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 288, 178
267 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
268 DS_CONTEXTHELP | DS_3DLOOK
269 CAPTION "Print Setup"
270 FONT 8, "MS Shell Dlg"
272 DEFPUSHBUTTON "OK",IDOK,180,156,48,14,WS_GROUP
273 PUSHBUTTON "Cancel",IDCANCEL,232,156,48,14
274 /* PUSHBUTTON "Network...", psh5, 284,156,48,14 */
276 GROUPBOX "Printer", grp4, 8, 4, 272,84, WS_GROUP
277 PUSHBUTTON "&Properties", psh2, 212, 17, 60,14, WS_GROUP
278 LTEXT "&Name:", stc6, 16, 20, 36,8
279 COMBOBOX cmb1, 52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
280 LTEXT "Status:", stc8, 16, 36, 36,10, SS_NOPREFIX
281 LTEXT "Dummy State", stc12, 52, 36, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
282 LTEXT "Type:", stc7, 16, 48, 36,10, SS_NOPREFIX
283 LTEXT "Dummy Type", stc11, 52, 48, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
284 LTEXT "Where:", stc10, 16, 60, 36,10, SS_NOPREFIX
285 LTEXT "Dummy Location", stc14, 52, 60, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
286 LTEXT "Comment:", stc9, 16, 72, 36,10, SS_NOPREFIX
287 LTEXT "Dummy Remark", stc13, 52, 72, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
289 GROUPBOX "Paper", grp2, 8, 92, 164,56, WS_GROUP
290 LTEXT "Si&ze:", stc2, 16,108, 36, 8
291 COMBOBOX cmb2, 52,106, 112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
292 LTEXT "&Source:", stc3, 16,128, 36, 8
293 COMBOBOX cmb3, 52,126, 112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
295 GROUPBOX "Orientation", grp1, 180, 92, 100,56, WS_GROUP
296 ICON "", ico1, 195,112, 18,20, WS_GROUP
297 CONTROL "P&ortrait", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP |WS_TABSTOP,224,106,52,12
298 CONTROL "L&andscape", rad2,"Button",BS_AUTORADIOBUTTON,224,126,52,12
301 PAGESETUPDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 240, 240
302 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
304 FONT 8, "MS Shell Dlg"
306 CONTROL "", rct1, "Static", SS_WHITERECT, 80, 8, 80, 80
307 CONTROL "", rct2, "Static", SS_GRAYRECT, 160, 12, 4, 80
308 CONTROL "", rct3, "Static", SS_GRAYRECT, 84, 88, 80, 4
309 GROUPBOX "Paper", grp2, 8, 96, 224, 56, BS_GROUPBOX
310 LTEXT "&Size:", stc2, 16, 112, 36, 8
311 COMBOBOX cmb2, 64, 110, 160, 160, CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
312 LTEXT "&Tray:", stc3, 16, 132, 36, 8
313 COMBOBOX cmb3, 64, 130, 160, 160, CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
314 GROUPBOX "Orientation", grp1, 8, 156, 64, 56, BS_GROUPBOX
315 AUTORADIOBUTTON "&Portrait", rad1, 16, 170, 52, 12, BS_AUTORADIOBUTTON
316 AUTORADIOBUTTON "&Landscape", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
317 GROUPBOX "Borders", grp4, 80, 156, 152, 56, BS_GROUPBOX
318 LTEXT "L&eft:", stc15, 88, 172, 21, 8
319 EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
320 LTEXT "&Right:", stc16, 159, 172, 27, 8
321 EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
322 LTEXT "T&op:", stc17, 88, 192, 21, 8
323 EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
324 LTEXT "&Bottom:", stc18, 159, 192, 23, 8
325 EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
326 DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
327 PUSHBUTTON "Cancel", IDCANCEL, 126, 220, 50, 14
328 PUSHBUTTON "P&rinter...", psh3, 184, 220, 48, 14
331 NEWFILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 280, 164
332 STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_CLIPCHILDREN
334 FONT 8, "MS Shell Dlg"
336 LTEXT "Look &in:",IDC_LOOKINSTATIC,4,6,43,8, SS_NOTIFY
337 COMBOBOX IDC_LOOKIN,49,3,132,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP
339 LTEXT "" , IDC_TOOLBARSTATIC, 181, 2, 102, 17, NOT WS_GROUP | NOT WS_VISIBLE
340 LISTBOX IDC_SHELLSTATIC,4,20,272,85, LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | WS_HSCROLL | NOT WS_VISIBLE
342 LTEXT "File &name:",IDC_FILENAMESTATIC,5,112,46,8, SS_NOTIFY
343 EDITTEXT IDC_FILENAME,54,110,155,12,ES_AUTOHSCROLL
345 LTEXT "Files of &type:",IDC_FILETYPESTATIC,5,128,42,8, SS_NOTIFY
346 COMBOBOX IDC_FILETYPE,54,126,155,53,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
348 CONTROL "Open as &read-only",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,145,100,10
350 DEFPUSHBUTTON "&Open", IDOK,222,110,50,14
351 PUSHBUTTON "Cancel", IDCANCEL,222,128,50,14
352 PUSHBUTTON "&Help", pshHelp,222,145,50,14
355 STRINGTABLE DISCARDABLE
357 IDS_ABOUTBOX "&About FolderPicker Test"
358 IDS_DOCUMENTFOLDERS "Document Folders"
359 IDS_PERSONAL "My Documents"
360 IDS_FAVORITES "My Favorites"
361 IDS_PATH "System Path"
362 IDS_DESKTOP "Desktop"
364 IDS_MYCOMPUTER "My Computer"
367 STRINGTABLE DISCARDABLE
369 IDS_SYSTEMFOLDERS "System Folders"
370 IDS_LOCALHARDRIVES "Local Hard Drives"
371 IDS_FILENOTFOUND "File not found"
372 IDS_VERIFYFILE "Please verify that the correct file name was given"
373 IDS_CREATEFILE "File does not exist.\nDo you want to create file?"
374 IDS_OVERWRITEFILE "File already exists.\nDo you want to replace it?"
375 IDS_INVALID_FILENAME_TITLE "Invalid character(s) in path"
376 IDS_INVALID_FILENAME "A filename cannot contain any of the following characters:\n / : < > |"
377 IDS_PATHNOTEXISTING "Path does not exist"
378 IDS_FILENOTEXISTING "File does not exist"
381 STRINGTABLE DISCARDABLE
383 IDS_UPFOLDER "Up One Level"
384 IDS_NEWFOLDER "Create New Folder"
386 IDS_REPORTVIEW "Details"
387 IDS_TODESKTOP "Browse to Desktop"
390 STRINGTABLE DISCARDABLE
392 PD32_PRINT_TITLE "Print"
394 PD32_VALUE_UREADABLE "Unreadable Entry"
395 PD32_INVALID_PAGE_RANGE "This value does not lie within the page range.\n\
396 Please enter a value between %d and %d."
397 PD32_FROM_NOT_ABOVE_TO "The 'from' entry cannot exceed the \
399 PD32_MARGINS_OVERLAP "Margins overlap or fall outside \
400 Paper boundaries.\nPlease reenter margins."
401 PD32_NR_OF_COPIES_EMPTY "The number of 'Number of copies' \
402 value cannot be empty."
403 PD32_TOO_LARGE_COPIES "This large number of copies is not \
404 supported by your printer.\nPlease enter a value between 1 and %d."
405 PD32_PRINT_ERROR "A printer error occurred."
406 PD32_NO_DEFAULT_PRINTER "No default printer defined."
407 PD32_CANT_FIND_PRINTER "Cannot find the printer."
408 PD32_OUT_OF_MEMORY "Out of memory."
409 PD32_GENERIC_ERROR "An error occurred."
410 PD32_DRIVER_UNKNOWN "Unknown printer driver."
411 PD32_NO_DEVICES "Before you can perform printer-related tasks \
412 such as page setup or printing a document, you need to install a printer. \
413 Please install one and retry."
415 PD32_DEFAULT_PRINTER "Default Printer; "
416 PD32_NR_OF_DOCUMENTS_IN_QUEUE "There are %d documents in the queue"
417 PD32_MARGINS_IN_INCHES "Margins [inches]"
418 PD32_MARGINS_IN_MILLIMETERS "Margins [mm]"
419 PD32_MILLIMETERS "mm"
421 PD32_PRINTER_STATUS_READY "Ready"
422 PD32_PRINTER_STATUS_PAUSED "Paused; "
423 PD32_PRINTER_STATUS_ERROR "Error; "
424 PD32_PRINTER_STATUS_PENDING_DELETION "Pending deletion; "
425 PD32_PRINTER_STATUS_PAPER_JAM "Paper jam; "
426 PD32_PRINTER_STATUS_PAPER_OUT "Out of paper; "
427 PD32_PRINTER_STATUS_MANUAL_FEED "Feed paper manual; "
428 PD32_PRINTER_STATUS_PAPER_PROBLEM "Paper problem; "
429 PD32_PRINTER_STATUS_OFFLINE "Printer offline; "
430 PD32_PRINTER_STATUS_IO_ACTIVE "I/O Active; "
431 PD32_PRINTER_STATUS_BUSY "Busy; "
432 PD32_PRINTER_STATUS_PRINTING "Printing; "
433 PD32_PRINTER_STATUS_OUTPUT_BIN_FULL "Output tray is full; "
434 PD32_PRINTER_STATUS_NOT_AVAILABLE "Not available; "
435 PD32_PRINTER_STATUS_WAITING "Waiting; "
436 PD32_PRINTER_STATUS_PROCESSING "Processing; "
437 PD32_PRINTER_STATUS_INITIALIZING "Initialising; "
438 PD32_PRINTER_STATUS_WARMING_UP "Warming up; "
439 PD32_PRINTER_STATUS_TONER_LOW "Toner low; "
440 PD32_PRINTER_STATUS_NO_TONER "No toner; "
441 PD32_PRINTER_STATUS_PAGE_PUNT "Page punt; "
442 PD32_PRINTER_STATUS_USER_INTERVENTION "Interrupted by user; "
443 PD32_PRINTER_STATUS_OUT_OF_MEMORY "Out of memory; "
444 PD32_PRINTER_STATUS_DOOR_OPEN "The printer door is open; "
445 PD32_PRINTER_STATUS_SERVER_UNKNOWN "Print server unknown; "
446 PD32_PRINTER_STATUS_POWER_SAVE "Power save mode; "
449 STRINGTABLE DISCARDABLE /* Font styles */
451 IDS_FONT_REGULAR "Regular"
453 IDS_FONT_ITALIC "Italic"
454 IDS_FONT_BOLD_ITALIC "Bold Italic"
457 STRINGTABLE DISCARDABLE /* Color names */
459 IDS_COLOR_BLACK "Black"
460 IDS_COLOR_MAROON "Maroon"
461 IDS_COLOR_GREEN "Green"
462 IDS_COLOR_OLIVE "Olive"
463 IDS_COLOR_NAVY "Navy"
464 IDS_COLOR_PURPLE "Purple"
465 IDS_COLOR_TEAL "Teal"
466 IDS_COLOR_GRAY "Gray"
467 IDS_COLOR_SILVER "Silver"
469 IDS_COLOR_LIME "Lime"
470 IDS_COLOR_YELLOW "Yellow"
471 IDS_COLOR_BLUE "Blue"
472 IDS_COLOR_FUCHSIA "Fuchsia"
473 IDS_COLOR_AQUA "Aqua"
474 IDS_COLOR_WHITE "White"
477 STRINGTABLE DISCARDABLE
479 IDS_FONT_SIZE "Select a font size between %d and %d points."
480 IDS_SAVE_BUTTON "&Save"
481 IDS_SAVE_IN "Save &in:"
483 IDS_SAVE_AS "Save as"
484 IDS_OPEN_FILE "Open File"
488 /****************************************************************/
489 /* English neutral resources
490 /****************************************************************/
492 LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
494 CHOOSE_FONT DIALOG DISCARDABLE 13, 54, 264, 147
495 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
497 FONT 8, "MS Shell Dlg"
499 LTEXT "&Font:",stc1 ,6,3,40,9
500 COMBOBOX cmb1, 6,13,94,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
501 CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
502 LTEXT "Font St&yle:",stc2 ,108,3,44,9
503 COMBOBOX cmb2,108,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
504 WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
505 LTEXT "&Size:",stc3,179,3,30,9
506 COMBOBOX cmb3,179,13,32,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
507 WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT
508 DEFPUSHBUTTON "OK",IDOK,218,6,40,14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
509 PUSHBUTTON "Cancel",IDCANCEL,218,23,40,14,WS_GROUP | WS_TABSTOP
510 PUSHBUTTON "&Apply", psh3,218,40,40,14,WS_GROUP | WS_TABSTOP
511 PUSHBUTTON "&Help" , pshHelp,218,57,40,14,WS_GROUP | WS_TABSTOP
512 GROUPBOX "Effects",grp1,6,72,84,34,WS_GROUP
513 CHECKBOX "Stri&keout", chx1, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
514 CHECKBOX "&Underline", chx2, 10,94,50,10, BS_AUTOCHECKBOX
515 LTEXT "&Colour:", stc4 ,6,110,30,9
516 COMBOBOX cmb4,6,120,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
517 CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
518 GROUPBOX "Sample",grp2,98,72,120,36,WS_GROUP
519 CTEXT "AaBbYyZz",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
520 LTEXT "Scr&ipt:",stc7 ,98,114,40,9
521 COMBOBOX cmb5,98,124,120,90,CBS_DROPDOWNLIST | CBS_HASSTRINGS |
522 CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
526 CHOOSE_COLOR DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 300, 185
527 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
529 FONT 8, "MS Shell Dlg"
531 LTEXT "&Basic Colours:", 1088, 4, 4, 140, 10
532 LTEXT "&Custom Colours:", 1089, 4, 106, 140, 10
533 LTEXT "Colour | Sol&id", 1090, 150, 151, 48, 10
534 LTEXT "&Red:", 726 /*1094*/,249,126,24,10
535 EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
536 LTEXT "&Green:",727/*1095*/,249,140,24,10
537 EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
538 LTEXT "&Blue:",728 /*1096*/,249,154,24,10
539 EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
540 LTEXT "&Hue:" ,723 /*1091*/,202,126,22,10
541 EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
542 LTEXT "&Sat:" ,724 /*1092*/,202,140,22,10
543 EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
544 LTEXT "&Lum:" ,725 /*1093*/,202,154,22,10
545 EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
546 CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
547 CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
548 CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
549 CONTROL "" ,702,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 278,4,8,116
550 CONTROL "" ,709,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,124,40,26
551 DEFPUSHBUTTON "OK", 1, 4, 166, 44, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
552 PUSHBUTTON "Cancel", 2, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
553 PUSHBUTTON "Help", pshHelp,100,166, 44, 14
554 PUSHBUTTON "&Add to Custom Colours", 712/*1024*/, 152, 166, 142, 14, WS_GROUP | WS_TABSTOP
555 PUSHBUTTON "&Define Custom Colours >>", 719/*1025*/, 4, 150, 142, 14, WS_GROUP | WS_TABSTOP
556 PUSHBUTTON "&i",713,300,200,4,14 /* just a dummy: 'i' is like &i in "sol&id" */
559 STRINGTABLE DISCARDABLE /* Color names */
561 IDS_COLOR_BLACK "Black"
562 IDS_COLOR_MAROON "Maroon"
563 IDS_COLOR_GREEN "Green"
564 IDS_COLOR_OLIVE "Olive"
565 IDS_COLOR_NAVY "Navy"
566 IDS_COLOR_PURPLE "Purple"
567 IDS_COLOR_TEAL "Teal"
568 IDS_COLOR_GRAY "Grey"
569 IDS_COLOR_SILVER "Silver"
571 IDS_COLOR_LIME "Lime"
572 IDS_COLOR_YELLOW "Yellow"
573 IDS_COLOR_BLUE "Blue"
574 IDS_COLOR_FUCHSIA "Fuchsia"
575 IDS_COLOR_AQUA "Aqua"
576 IDS_COLOR_WHITE "White"