2 * Copyright 1997 John Zero
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_HUNGARIAN, SUBLANG_DEFAULT
28 OPEN_FILE DIALOG 36, 24, 275, 134
29 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
31 FONT 8, "MS Shell Dlg"
33 LTEXT "File &neve:", 1090, 6, 6, 76, 9
34 EDITTEXT 1152, 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 "&Könyvtárak:", -1, 110, 6, 92, 9
37 CONTROL "", 1088, "STATIC", SS_NOPREFIX | WS_GROUP, 110, 18, 92, 9
38 LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
39 LTEXT "File &típusok:", 1089, 6, 104, 90, 9
40 CONTROL "", 1136, "COMBOBOX", CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 6, 114, 90, 36
41 LTEXT "&Meghajtók:", 1091, 110, 104, 92, 9
42 CONTROL "", 1137, "COMBOBOX", CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 110, 114, 92, 68
43 CONTROL "Megnyitás", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP, 208, 6, 56, 14
44 CONTROL "Mégsem", IDCANCEL, "BUTTON", WS_GROUP | WS_TABSTOP, 208, 24, 56, 14
45 CONTROL "&Segítség", 1038, "BUTTON", WS_GROUP | WS_TABSTOP, 208, 46, 56, 14
46 CONTROL "&Csak olvasható", 1040, "BUTTON", BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP, 208, 68, 63, 12
49 SAVE_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
50 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
51 CAPTION "Mentés új néven..."
52 FONT 8, "MS Shell Dlg"
54 LTEXT "File &neve:", 1090, 6, 6, 76, 9
55 EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
56 LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
57 LTEXT "&Könyvtárak:", -1, 110, 6, 92, 9
58 LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
59 LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
60 LTEXT "File &típusok:", 1089, 6, 104, 90, 9
61 COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
62 LTEXT "&Meghajtók:", 1091, 110, 104, 92, 9
63 COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
64 DEFPUSHBUTTON "Mentés új néven", IDOK, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
65 PUSHBUTTON "Mégsem", IDCANCEL, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
66 PUSHBUTTON "&Segítség", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
67 CHECKBOX "&Csak olvasható", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
71 PRINT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
72 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
74 FONT 8, "MS Shell Dlg"
76 LTEXT "Nyomtató:", 1088, 6, 6, 40, 9
77 LTEXT "", 1089, 60, 6, 150, 9
78 GROUPBOX "Nyomtatandó terület", 1072, 6, 30, 160, 65, BS_GROUPBOX
79 RADIOBUTTON "&Mind", 1056, 16, 45, 60, 12
80 RADIOBUTTON "&Kiválasztott", 1057, 16, 60, 60, 12
81 RADIOBUTTON "&Lapok", 1058, 16, 75, 60, 12
82 DEFPUSHBUTTON "Nyomtatás", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
83 PUSHBUTTON "Mégsem", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
84 PUSHBUTTON "&Beállítás", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
85 LTEXT "-&tól:", 1090, 60, 80, 30, 9
86 LTEXT "-&ig:", 1091, 120, 80, 30, 9
87 LTEXT "Mi&nõség:", 1092, 6, 100, 76, 9
88 COMBOBOX 1136, 80, 100, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
89 CHECKBOX "&File-ba nyomtat", 1040, 20, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
90 CHECKBOX "Sûrû", 1041, 160, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
94 PRINT_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
95 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
96 CAPTION "Nyomtató beállítása"
97 FONT 8, "MS Shell Dlg"
99 GROUPBOX "Nyomtató", 1072, 6, 10, 180, 65, BS_GROUPBOX
100 RADIOBUTTON "&Alapértelmezett nyomtató", 1056, 16, 20, 80, 12
101 LTEXT "[nincs]", 1088, 35, 35, 120, 9
102 RADIOBUTTON "&Adott nyomtató", 1057, 16, 50, 80, 12
103 COMBOBOX 1136, 35, 65, 149, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
104 DEFPUSHBUTTON "Ok", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
105 PUSHBUTTON "Mégsem", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
106 PUSHBUTTON "&Beállítás", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
107 GROUPBOX "Oldalfekvés", 1073, 6, 85, 100, 50, BS_GROUPBOX
108 RADIOBUTTON "Á&lló", 1058, 50, 100, 40, 12
109 RADIOBUTTON "&Fekvõ", 1059, 50, 115, 40, 12
110 ICON "LANDSCAP", 1097, 10, 95, 32, 32
111 ICON "PORTRAIT", 1098, 10, 95, 32, 32
112 GROUPBOX "Papír", 1074, 120, 85, 180, 50, BS_GROUPBOX
113 LTEXT "&Mérete", 1089, 130, 95, 30, 9
114 LTEXT "Fo&rrása", 1090, 130, 110, 30, 9
115 COMBOBOX 1137, 155, 95, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
116 COMBOBOX 1138, 155, 110, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
120 CHOOSE_FONT DIALOG DISCARDABLE 13, 54, 264, 147
121 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
123 FONT 8, "MS Shell Dlg"
125 LTEXT "&Font:",1088 ,6,3,40,9
126 COMBOBOX 1136 ,6,13,94,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
127 CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
128 LTEXT "Font &stílus:",1089 ,108,3,44,9
129 COMBOBOX 1137,108,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
130 WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
131 LTEXT "&Méret:",1090,179,3,30,9
132 COMBOBOX 1138,179,13,32,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
133 WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT
134 DEFPUSHBUTTON "OK",IDOK,218,6,40,14,WS_GROUP
135 PUSHBUTTON "Mégsem",IDCANCEL,218,23,40,14,WS_GROUP
136 PUSHBUTTON "&Alkalmaz", 1026,218,40,40,14,WS_GROUP
137 PUSHBUTTON "&Segítség" , 1038,218,57,40,14,WS_GROUP
138 GROUPBOX "Effektusok",1072,6,72,84,34,WS_GROUP
139 CHECKBOX "Á&thúzott", 1040, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
140 CHECKBOX "&Aláhúzott", 1041, 10,94,50,10, BS_AUTOCHECKBOX
141 LTEXT "&Szín:", 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 "Minta",grp2,98,72,120,36,WS_GROUP
145 CTEXT "AaBbYyZzÁáÕõÉé",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
146 LTEXT "Scr&ipt (translate):",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 LOADONCALL MOVEABLE DISCARDABLE 36, 24, 300, 185
153 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
155 FONT 8, "MS Shell Dlg"
157 LTEXT "&Alap színek:", 1088, 4, 4, 140, 10
158 LTEXT "&Egyedi színek:", 1089, 4, 106, 140, 10
159 LTEXT "Szín | &Tömör", 1090, 150, 151, 48, 10
160 LTEXT "&Vörös:", 726 /*1094*/,249,126,24,10
161 EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
162 LTEXT "&Zöld:",727/*1095*/,249,140,24,10
163 EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
164 LTEXT "&Kék:",728 /*1096*/,249,154,24,10
165 EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
166 LTEXT "&Hue:" ,723 /*1091*/,202,126,22,10
167 EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
168 LTEXT "&Sat:" ,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 "Mégsem", IDCANCEL, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
179 PUSHBUTTON "Segítség", 1038,100,166, 44, 14
180 PUSHBUTTON "&Egyedi színekhez adás", 712/*1024*/, 152, 166, 142, 14, WS_GROUP | WS_TABSTOP
181 PUSHBUTTON "E&gyedi szín definiálás >>", 719/*1025*/, 4, 150, 142, 14, WS_GROUP | WS_TABSTOP
182 PUSHBUTTON "&t",713,300,200,4,14 /* just a dummy: 'i' is like &i in "sol&id" */
185 FINDDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 236, 62
186 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
188 FONT 8, "MS Shell Dlg"
190 LTEXT "&Mit keressen:", -1, 4, 8, 48, 8
191 EDITTEXT edt1, 51, 7, 124, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
192 CHECKBOX "Teljes &szavak keresése", chx1, 4, 26, 100, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
193 CHECKBOX "Kis/&nagybetû különb.", chx2, 4, 42, 92, 12, BS_AUTOCHECKBOX | WS_TABSTOP
194 GROUPBOX "Irány", grp1, 97, 26, 78, 28
195 CONTROL "&Vissza", rad1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 102, 38, 32, 12
196 CONTROL "&Elõre", rad2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 38, 30, 12
197 DEFPUSHBUTTON "&Következõ", IDOK, 182, 5, 50, 14, WS_GROUP | WS_TABSTOP
198 PUSHBUTTON "Mégsem", IDCANCEL, 182, 23, 50, 14, WS_GROUP | WS_TABSTOP
199 PUSHBUTTON "&Segítség", pshHelp, 182, 45, 50, 14, WS_GROUP | WS_TABSTOP
202 REPLACEDLGORD DIALOG 36, 24, 230, 94
203 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
205 FONT 8, "MS Shell Dlg"
207 LTEXT "&Mit keressen:", -1, 4, 9, 48, 8
208 EDITTEXT 1152, 57, 7, 111, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
209 LTEXT "Mire &cseréljem:", -1, 4, 26, 53, 8
210 EDITTEXT 1153, 57, 24, 111, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
211 CONTROL "Teljes &szavak keresése", 1040, "BUTTON", BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP, 5, 46, 104, 12
212 CONTROL "Kis/&nagybetû különb.", 1041, "BUTTON", BS_AUTOCHECKBOX | WS_TABSTOP, 5, 62, 99, 12
213 CONTROL "&Következõ", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP, 174, 4, 53, 14
214 CONTROL "C&serél", 1024, "BUTTON", WS_GROUP | WS_TABSTOP, 174, 21, 53, 14
215 CONTROL "M&indent cserél", 1025, "BUTTON", WS_GROUP | WS_TABSTOP, 174, 38, 53, 14
216 CONTROL "Mégsem", IDCANCEL, "BUTTON", WS_GROUP | WS_TABSTOP, 174, 55, 53, 14
217 CONTROL "&Segítség", 1038, "BUTTON", WS_GROUP | WS_TABSTOP, 174, 75, 53, 14