2 * Copyright 1998 Karl Backström
3 * Copyright 2009 Anders Jonsson
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include "filedlgbrowser.h"
24 * WARNING: DO NOT CHANGE THE SIZE OF THE STANDARD DIALOG TEMPLATES.
27 LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
29 OPEN_FILE DIALOG 36, 24, 275, 134
30 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
32 FONT 8, "MS Shell Dlg"
34 LTEXT "Fil&namn:", 1090, 6, 6, 76, 9
35 EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
36 LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
37 LTEXT "&Kataloger:", -1, 110, 6, 92, 9
38 LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
39 LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
40 LTEXT "Lista filer av &typen:", 1089, 6, 104, 90, 9
41 COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
42 LTEXT "&Enheter:", 1091, 110, 104, 92, 9
43 COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
44 DEFPUSHBUTTON "Öppna", IDOK, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
45 PUSHBUTTON "Avbryt", IDCANCEL, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
46 PUSHBUTTON "&Hjälp", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
47 CHECKBOX "&Skrivskyddat", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
51 SAVE_FILE DIALOG 36, 24, 275, 134
52 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
53 CAPTION "Spara som..."
54 FONT 8, "MS Shell Dlg"
56 LTEXT "&Filnamn:", 1090, 6, 6, 76, 9
57 EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
58 LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
59 LTEXT "&Kataloger:", -1, 110, 6, 92, 9
60 LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
61 LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
62 LTEXT "Lista filer av &typen:", 1089, 6, 104, 90, 9
63 COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
64 LTEXT "&Enheter:", 1091, 110, 104, 92, 9
65 COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
66 DEFPUSHBUTTON "Spara som", IDOK, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
67 PUSHBUTTON "Avbryt", IDCANCEL, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
68 PUSHBUTTON "&Hjälp", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
69 CHECKBOX "&Skrivskyddad", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
73 PRINT DIALOG 36, 24, 264, 134
74 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
76 FONT 8, "MS Shell Dlg"
78 LTEXT "Skrivare:", 1088, 6, 6, 40, 9
79 LTEXT "", 1089, 60, 6, 150, 9
80 GROUPBOX "Skriv ut del", 1072, 6, 30, 160, 65, BS_GROUPBOX
81 RADIOBUTTON "&Allt", 1056, 16, 45, 60, 12
82 RADIOBUTTON "&Markerat", 1057, 16, 60, 60, 12
83 RADIOBUTTON "&Sidor", 1058, 16, 75, 60, 12
84 DEFPUSHBUTTON "Skriv ut", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
85 PUSHBUTTON "Avbryt", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
86 PUSHBUTTON "&Inställningar", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
87 LTEXT "&Från:", 1090, 60, 80, 30, 9
88 LTEXT "&Till:", 1091, 120, 80, 30, 9
89 LTEXT "Utskriftskvalitet:", 1092, 6, 100, 76, 9
90 COMBOBOX 1136, 80, 100, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
91 CHECKBOX "&Skriv till fil", 1040, 20, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
92 CHECKBOX "Sammantryckt", 1041, 160, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
96 PRINT_SETUP DIALOG 36, 24, 264, 134
97 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
98 CAPTION "Skrivarinställningar"
99 FONT 8, "MS Shell Dlg"
101 GROUPBOX "Skrivare", 1072, 6, 10, 180, 65, BS_GROUPBOX
102 RADIOBUTTON "&Standardskrivare", 1056, 16, 20, 80, 12
103 LTEXT "[ingen]", 1088, 35, 35, 120, 9
104 RADIOBUTTON "S&pecificerad skrivare", 1057, 16, 50, 80, 12
105 COMBOBOX 1136, 35, 65, 149, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
106 DEFPUSHBUTTON "Ok", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
107 PUSHBUTTON "Avbryt", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
108 PUSHBUTTON "&Inställningar", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
109 GROUPBOX "Orientering", 1073, 6, 85, 100, 50, BS_GROUPBOX
110 RADIOBUTTON "S&tående", 1058, 50, 100, 40, 12
111 RADIOBUTTON "&Liggande", 1059, 50, 115, 40, 12
112 ICON "LANDSCAP", 1097, 10, 95, 32, 32
113 ICON "PORTRAIT", 1098, 10, 95, 32, 32
114 GROUPBOX "Paper", 1074, 120, 85, 180, 50, BS_GROUPBOX
115 LTEXT "St&orlek", 1089, 130, 95, 30, 9
116 LTEXT "&Källa", 1090, 130, 110, 30, 9
117 COMBOBOX 1137, 155, 95, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
118 COMBOBOX 1138, 155, 110, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
122 CHOOSE_FONT DIALOG 13, 54, 264, 147
123 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
125 FONT 8, "MS Shell Dlg"
127 LTEXT "&Typsnitt:",1088 ,6,3,40,9
128 COMBOBOX 1136 ,6,13,94,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
129 CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
130 LTEXT "Typsnittss&til:",1089 ,108,3,44,9
131 COMBOBOX 1137,108,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
132 LTEXT "&Storlek:",1090,179,3,30,9
133 COMBOBOX 1138,179,13,32,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT
134 DEFPUSHBUTTON "Ok",IDOK,218,6,40,14,WS_GROUP
135 PUSHBUTTON "Avbryt",IDCANCEL,218,23,40,14,WS_GROUP
136 PUSHBUTTON "&Använd", 1026,218,40,40,14,WS_GROUP
137 PUSHBUTTON "&Hjälp" , 1038,218,57,40,14,WS_GROUP
138 GROUPBOX "Effekter",1072,6,72,84,34,WS_GROUP
139 CHECKBOX "&Genomstruken", 1040, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
140 CHECKBOX "&Understruken", 1041, 10,94,50,10, BS_AUTOCHECKBOX
141 LTEXT "&Färg:", 1091 ,6,110,30,9
142 COMBOBOX 1139,6,120,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
143 CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
144 GROUPBOX "Test",grp2,98,72,120,36,WS_GROUP
145 CTEXT "AaBbYyZz",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
146 LTEXT "Scr&ipt:",stc7 ,98,114,80,9
147 COMBOBOX cmb5,98,124,120,90,CBS_DROPDOWNLIST | CBS_HASSTRINGS |
148 CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
152 CHOOSE_COLOR DIALOG 36, 24, 300, 185
153 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
155 FONT 8, "MS Shell Dlg"
157 LTEXT "&Grundläggande färger:", 1088, 4, 4, 140, 10
158 LTEXT "&Egendefinierade färger:", 1089, 4, 106, 140, 10
159 LTEXT "Enfärgat", 1090, 150, 151, 48, 10
160 LTEXT "&Röd:", 726 /*1094*/,249,126,24,10
161 EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
162 LTEXT "&Grön:",727/*1095*/,249,140,24,10
163 EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
164 LTEXT "&Blå:",728 /*1096*/,249,154,24,10
165 EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
166 LTEXT "&Int:" ,723 /*1091*/,202,126,22,10
167 EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
168 LTEXT "&Met:" ,724 /*1092*/,202,140,22,10
169 EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
170 LTEXT "&Lum:" ,725 /*1093*/,202,154,22,10
171 EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
172 CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
173 CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
174 CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
175 CONTROL "" ,702,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 278,4,8,116
176 CONTROL "" ,709,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,124,40,26
177 DEFPUSHBUTTON "Ok", IDOK, 4, 166, 44, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
178 PUSHBUTTON "Avbryt", IDCANCEL, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
179 PUSHBUTTON "Hjälp", 1038,100,166, 44, 14
180 PUSHBUTTON "&Lägg till egendefinierad färg", 712/*1024*/, 152, 166, 142, 14, WS_GROUP | WS_TABSTOP
181 PUSHBUTTON "&Definiera egen färg >>", 719/*1025*/, 4, 150, 142, 14, WS_GROUP | WS_TABSTOP
182 PUSHBUTTON "&i",713,300,200,4,14 /* just a dummy: 'i' is like &i in "sol&id" */
186 FINDDLGORD DIALOG 36, 24, 236, 62
187 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
189 FONT 8, "MS Shell Dlg"
191 LTEXT "&Sök efter:", -1, 4, 8, 42, 8
192 EDITTEXT 1152, 47, 7, 128, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
193 CHECKBOX "&Bara hela ord", 1040, 4, 26, 100, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
194 CHECKBOX "&Skillnad på stora/små bokstäver", 1041, 4, 42, 100, 12, BS_AUTOCHECKBOX | WS_TABSTOP
195 GROUPBOX "Riktning", 1072, 107, 26, 68, 28
196 CONTROL "&Upp", 1056, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 111, 38, 20, 12
197 CONTROL "&Ner", 1057, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 38, 30, 12
198 DEFPUSHBUTTON "&Sök efter nästa", IDOK, 182, 5, 50, 14, WS_GROUP | WS_TABSTOP
199 PUSHBUTTON "Avbryt", IDCANCEL, 182, 23, 50, 14, WS_GROUP | WS_TABSTOP
200 PUSHBUTTON "&Hjälp", 1038, 182, 45, 50, 14, WS_GROUP | WS_TABSTOP
204 REPLACEDLGORD DIALOG 36, 24, 230, 94
205 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
207 FONT 8, "MS Shell Dlg"
209 LTEXT "&Sök efter:", -1, 4, 9, 48, 8
210 EDITTEXT 1152, 54, 7, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
211 LTEXT "&Ersätt med:", -1, 4, 26, 48, 8
212 EDITTEXT 1153, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
213 CHECKBOX "&Bara hela ord", 1040, 5, 46, 104, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
214 CHECKBOX "&Skillnad på stora/små bokstäver", 1041, 5, 62, 104, 12, BS_AUTOCHECKBOX | WS_TABSTOP
215 DEFPUSHBUTTON "&Sök efter nästa", IDOK, 174, 4, 50, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
216 PUSHBUTTON "&Ersätt", 1024, 174, 21, 50, 14, WS_GROUP | WS_TABSTOP
217 PUSHBUTTON "Ersätt &alla", 1025, 174, 38, 50, 14, WS_GROUP | WS_TABSTOP
218 PUSHBUTTON "Avbryt", IDCANCEL, 174, 55, 50, 14, WS_GROUP | WS_TABSTOP
219 PUSHBUTTON "&Hjälp", 1038, 174, 75, 50, 14, WS_GROUP | WS_TABSTOP
222 PRINT32 DIALOG 32, 32, 288, 186
223 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
224 DS_CONTEXTHELP | DS_3DLOOK
226 FONT 8, "MS Shell Dlg"
228 DEFPUSHBUTTON "Ok", IDOK, 180,164, 48,14, WS_GROUP | BS_DEFPUSHBUTTON
229 PUSHBUTTON "Avbryt", IDCANCEL, 232,164, 48,14, WS_GROUP
230 PUSHBUTTON "&Hjälp", pshHelp, 50, 161, 48,14, WS_GROUP
232 GROUPBOX "Skrivare", grp4, 8, 4, 272,84, WS_GROUP
233 CONTROL "Skr&iv till fil",chx1,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,212,70,64,12
234 PUSHBUTTON "&Egenskaper", psh2, 212, 17, 60,14, WS_GROUP
235 LTEXT "&Namn:", stc6, 16, 20, 36,8
236 COMBOBOX cmb4, 52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
237 LTEXT "Status:", stc8, 16, 36, 36,10, SS_NOPREFIX
238 LTEXT "Dummy-status", stc12, 52, 36, 224,10, SS_NOPREFIX |SS_LEFTNOWORDWRAP
239 LTEXT "Typ:", stc7, 16, 48, 36,10, SS_NOPREFIX
240 LTEXT "Dummy-typ", stc11, 52, 48, 224,10, SS_NOPREFIX| SS_LEFTNOWORDWRAP
241 LTEXT "Plats:", stc10, 16, 60, 36,10, SS_NOPREFIX
242 LTEXT "Dummy-plats", stc14, 52, 60, 224,10, SS_NOPREFIX| SS_LEFTNOWORDWRAP
243 LTEXT "Kommentar:", stc9, 16, 72, 36,10, SS_NOPREFIX
244 LTEXT "Dummy-kommentar", stc13, 52, 72, 152,10, SS_NOPREFIX| SS_LEFTNOWORDWRAP
246 GROUPBOX "Kopior", grp2, 160, 92, 120,64, WS_GROUP
247 LTEXT "Antal k&opior:", stc5,168,108,68,8
248 ICON "", ico3, 162,124, 76,24,WS_GROUP | SS_CENTERIMAGE
249 CONTROL "&Sortera", chx2,"Button",BS_AUTOCHECKBOX |WS_GROUP | WS_TABSTOP,240,130,36,12
250 EDITTEXT edt3, 240,106, 32,12, WS_GROUP |ES_NUMBER
252 GROUPBOX "Skriv ut", grp1, 8,92, 144,64, WS_GROUP
253 CONTROL "&Alla", rad1,"Button",BS_AUTORADIOBUTTON |WS_GROUP | WS_TABSTOP,16,106,64,12
254 CONTROL "Si&dor", rad3,"Button",BS_AUTORADIOBUTTON,16,122,36,12
255 CONTROL "&Markering", rad2,"Button",BS_AUTORADIOBUTTON,16,138,64,12
256 EDITTEXT edt1, 74,122, 26,12, WS_GROUP |ES_NUMBER
257 EDITTEXT edt2, 118,122, 26,12, WS_GROUP |ES_NUMBER
258 RTEXT "&från:", stc2, 52,124, 20,8
259 RTEXT "&till:", stc3, 100,124, 16,8
263 PRINT32_SETUP DIALOG 32, 32, 288, 178
264 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
265 DS_CONTEXTHELP | DS_3DLOOK
266 CAPTION "Utskriftsformat"
267 FONT 8, "MS Shell Dlg"
269 DEFPUSHBUTTON "Ok",IDOK,180,156,48,14,WS_GROUP
270 PUSHBUTTON "Avbryt",IDCANCEL,232,156,48,14
272 GROUPBOX "Skrivare", grp4, 8, 4, 272,84, WS_GROUP
273 PUSHBUTTON "&Egenskaper", psh2, 212, 17, 60,14, WS_GROUP
274 LTEXT "&Namn:", stc6, 16, 20, 36,8
275 COMBOBOX cmb1, 52, 18,152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
276 LTEXT "Status:", stc8, 16, 36, 36,10, SS_NOPREFIX
277 LTEXT "Dummy-status", stc12, 52, 36, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
278 LTEXT "Typ:", stc7, 16, 48, 36,10, SS_NOPREFIX
279 LTEXT "Dummy-typ", stc11, 52, 48, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
280 LTEXT "Plats:", stc10, 16, 60, 36,10, SS_NOPREFIX
281 LTEXT "Dummy-plats", stc14, 52, 60, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
282 LTEXT "Kommentar:", stc9, 16, 72, 36,10, SS_NOPREFIX
283 LTEXT "Dummy-kommentar", stc13, 52, 72, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
284 GROUPBOX "Papper", grp2, 8, 92, 164,56, WS_GROUP
285 LTEXT "St&orlek:", stc2, 16,108, 36, 8
286 COMBOBOX cmb2, 52,106, 112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
287 LTEXT "&Källa:", stc3, 16,128, 36, 8
288 COMBOBOX cmb3, 52,126, 112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
289 GROUPBOX "Orientering", grp1, 180, 92, 100,56, WS_GROUP
290 ICON "", ico1, 195,112, 18,20, WS_GROUP
291 CONTROL "St&ående", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP |WS_TABSTOP,224,106,52,12
292 CONTROL "L&iggande", rad2,"Button",BS_AUTORADIOBUTTON,224,126,52,12
295 PAGESETUPDLGORD DIALOG 32, 32, 240, 240
296 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
297 CAPTION "Utskriftsformat"
298 FONT 8, "MS Shell Dlg"
300 CONTROL "", rct1, "Static", SS_WHITERECT, 80, 8, 80, 80
301 CONTROL "", rct2, "Static", SS_GRAYRECT, 160, 12, 4, 80
302 CONTROL "", rct3, "Static", SS_GRAYRECT, 84, 88, 80, 4
303 GROUPBOX "Papper", grp2, 8, 96, 224, 56, BS_GROUPBOX
304 LTEXT "&Storlek:", stc2, 16, 112, 36, 8
305 COMBOBOX cmb2, 64, 110, 160, 160,CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
306 LTEXT "&Tray:", stc3, 16, 132, 36, 8
307 COMBOBOX cmb3, 64, 130, 160, 160,CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
308 GROUPBOX "Orientering", grp1, 8, 156, 64, 56, BS_GROUPBOX
309 AUTORADIOBUTTON "&Stående", rad1, 16, 170, 52, 12, BS_AUTORADIOBUTTON
310 AUTORADIOBUTTON "&Liggande", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
311 GROUPBOX "Marginaler", grp4, 80, 156, 152, 56, BS_GROUPBOX
312 LTEXT "&Vänster:", stc15, 88, 172, 21, 8
313 EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
314 LTEXT "&Höger:", stc16, 159, 172, 27, 8
315 EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
316 LTEXT "&Överkant:", stc17, 88, 192, 21, 8
317 EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
318 LTEXT "&Nederkant:", stc18, 159, 192, 23, 8
319 EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
320 DEFPUSHBUTTON "Ok", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
321 PUSHBUTTON "Avbryt", IDCANCEL, 126, 220, 50, 14
322 PUSHBUTTON "&Skrivare...", psh3, 184, 220, 48, 14
325 NEWFILEOPENORD DIALOG 0, 0, 280, 164
326 STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_CLIPCHILDREN
328 FONT 8, "MS Shell Dlg"
330 LTEXT "Leta &i",IDC_LOOKINSTATIC,4,6,43,8, SS_NOTIFY
331 COMBOBOX IDC_LOOKIN,49,3,132,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP
333 LTEXT "" , IDC_TOOLBARSTATIC, 181, 2, 102, 17, NOT WS_GROUP | NOT WS_VISIBLE
334 LISTBOX IDC_SHELLSTATIC,4,20,272,85, LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | WS_HSCROLL | NOT WS_VISIBLE
336 LTEXT "Fil&namn:",IDC_FILENAMESTATIC,5,112,46,8, SS_NOTIFY
337 EDITTEXT IDC_FILENAME,54,110,155,12,ES_AUTOHSCROLL
339 LTEXT "&Filformat",IDC_FILETYPESTATIC,5,128,42,8, SS_NOTIFY
340 COMBOBOX IDC_FILETYPE,54,126,155,53,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
342 CONTROL "Öppna som &skrivskyddad",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,145,100,10
344 DEFPUSHBUTTON "&Öppna", IDOK,222,110,50,14
345 PUSHBUTTON "Avbryt", IDCANCEL,222,128,50,14
346 PUSHBUTTON "&Hjälp", pshHelp,222,145,50,14