cdlg_Fi.rc 24.4 KB
Newer Older
1 2
/*
 * Copyright 1995 Jukka Iivonen
3
 * Copyright 2005 Kimmo Myllyvirta
4 5 6 7 8 9 10 11 12 13 14 15 16
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * 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
18 19
 */

20 21 22
#include "cdlg.h"
#include "filedlgbrowser.h"

23 24 25 26
/*
 * WARNING: DO NOT CHANGE THE SIZE OF THE STANDARD DIALOG TEMPLATES.
 */

27 28 29 30 31
LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT

OPEN_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Avaa"
32
FONT 8, "MS Shell Dlg"
33 34
{
 LTEXT "Tiedosto&nimi:", 1090, 6, 6, 76, 9
35
 EDITTEXT edt1, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
36 37 38 39 40
 LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
 LTEXT "&Hakemistot:", -1, 110, 6, 92, 9
 LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
 LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
 LTEXT "&Luettele tiedostot tyypeittin:", 1089, 6, 104, 90, 9
41
 COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
42
 LTEXT "&Asemat:", 1091, 110, 104, 92, 9
43 44 45 46 47
 COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
 DEFPUSHBUTTON "Avaa", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
 PUSHBUTTON "Peruuta", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "&Ohje", pshHelp, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
 CHECKBOX "&Vain luku", chx1, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
48 49 50 51 52 53
}


SAVE_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Tallenna nimell"
54
FONT 8, "MS Shell Dlg"
55 56
{
 LTEXT "Tiedosto&nimi:", 1090, 6, 6, 76, 9
57
 EDITTEXT edt1, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
58 59 60 61 62
 LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
 LTEXT "&Hakemistot:", -1, 110, 6, 92, 9
 LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
 LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
 LTEXT "Tallenna tiedosto &muodossa:", 1089, 6, 104, 90, 9
63
 COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
64
 LTEXT "&Asemat:", 1091, 110, 104, 92, 9
65 66 67 68 69
 COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
 DEFPUSHBUTTON "Tallenna", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
 PUSHBUTTON "Peruuta", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "&Ohje", pshHelp, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
 CHECKBOX "&Vain luku", chx1, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
70 71 72 73 74 75
}


PRINT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Tulosta"
76
FONT 8, "MS Shell Dlg"
77 78 79
{
 LTEXT "Kirjoitin:", 1088, 6, 6, 40, 9
 LTEXT "", 1089, 60, 6, 150, 9
80 81 82 83 84 85 86
 GROUPBOX "Tulostusalue", grp1, 6, 30, 160, 65, BS_GROUPBOX
 RADIOBUTTON "&Kaikki", rad1, 16, 45, 60, 12
 RADIOBUTTON "&Valinta", rad2, 16, 60, 60, 12
 RADIOBUTTON "&Sivut", rad3, 16, 75, 60, 12
 DEFPUSHBUTTON "Tulosta", 1, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
 PUSHBUTTON "Peruuta", 2, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "&Asetukset", psh1, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
87 88 89
 LTEXT "&Mist:", 1090, 60, 80, 30, 9
 LTEXT "Mi&hin:", 1091, 120, 80, 30, 9
 LTEXT "&Tulostustarkkuus:", 1092, 6, 100, 76, 9
90 91 92
 COMBOBOX cmb1, 80, 100, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
 CHECKBOX "Tulosta t&iedostoon", chx1, 20, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
 CHECKBOX "Tiivistetty", chx2, 160, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
93 94 95 96 97 98
}


PRINT_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Kirjoittimen asetukset"
99
FONT 8, "MS Shell Dlg"
100
{
101 102
 GROUPBOX "Kirjoitin", grp1, 6, 10, 180, 65, BS_GROUPBOX
 RADIOBUTTON "O&letuskirjoitin", rad1, 16, 20, 80, 12
103
 LTEXT "[ei valittu]", 1088, 35, 35, 120, 9
104 105
 RADIOBUTTON "&Erityinen kirjoitin", rad2, 16, 50, 80, 12
 COMBOBOX cmb1, 35, 65, 149, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
106 107
 DEFPUSHBUTTON "OK", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
 PUSHBUTTON "Peruuta", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
108 109 110 111 112 113 114
 PUSHBUTTON "&Asetukset...", psh1, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
 GROUPBOX "Suunta", grp2, 6, 85, 100, 50, BS_GROUPBOX
 RADIOBUTTON "&Pysty", rad3, 50, 100, 40, 12
 RADIOBUTTON "&Vaaka", rad4, 50, 115, 40, 12
 ICON "LANDSCAP", stc10, 10, 95, 32, 32
 ICON "PORTRAIT", stc11, 10, 95, 32, 32
 GROUPBOX "Paperi", grp3, 120, 85, 180, 50, BS_GROUPBOX
115 116
 LTEXT "&Koko:", 1089, 130, 95, 30, 9
 LTEXT "L&hde:", 1090, 130, 110, 30, 9
117 118
 COMBOBOX cmb2, 155, 95, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
 COMBOBOX cmb3, 155, 110, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
119 120 121 122 123 124
}


CHOOSE_FONT DIALOG DISCARDABLE  13, 54, 264, 147
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Fontit"
125
FONT 8, "MS Shell Dlg"
126
{
127 128
    LTEXT           "&Fontti:",      stc1 ,6,3,40,9
    COMBOBOX        cmb1,6,13,94,54,  CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
129
                    CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
130 131
    LTEXT           "Fonttit&yyli:", stc2 ,108,3,44,9
    COMBOBOX        cmb2,108,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
132
                    WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
133 134
    LTEXT           "&Koko:",        stc3,179,3,30,9
    COMBOBOX        cmb3,179,13,32,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
135 136
                    WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT
    DEFPUSHBUTTON   "OK",IDOK,218,6,40,14,WS_GROUP
137 138 139 140 141 142 143 144
    PUSHBUTTON      "Peruuta",       IDCANCEL,218,23,40,14,WS_GROUP
    PUSHBUTTON      "&Ota kyttn", psh3,218,40,40,14,WS_GROUP
    PUSHBUTTON      "&Ohje" ,        pshHelp,218,57,40,14,WS_GROUP
    GROUPBOX        "Efektit",       grp1,6,72,84,34,WS_GROUP
    CHECKBOX	    "Yli&viivattu",  chx1, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
    CHECKBOX 	    "A&lleviivattu", chx2, 10,94,50,10, BS_AUTOCHECKBOX
    LTEXT           "V&ri:",        stc4 ,6,110,30,9
    COMBOBOX        cmb4,6,120,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
145
		    CBS_AUTOHSCROLL |  WS_BORDER | WS_VSCROLL | WS_TABSTOP
146 147 148
    GROUPBOX        "Nyte",grp2,98,72,120,36,WS_GROUP
    CTEXT           "AaBbYyZz",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
    LTEXT           "Scr&ipt (translate):",stc7 ,98,114,80,9
149
    COMBOBOX        cmb5,98,124,120,90,CBS_DROPDOWNLIST | CBS_HASSTRINGS |
150
		    CBS_AUTOHSCROLL |   WS_VSCROLL | WS_TABSTOP
151 152 153
}


154 155
CHOOSE_COLOR DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 300, 185
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
156
CAPTION "Vri"
157
FONT 8, "MS Shell Dlg"
158
{
159
 LTEXT "Pe&rusvrit:",      1088, 4,    4,  140, 10
160
 LTEXT "&Muokatut vrit:",  1089, 4,   106, 140, 10
161
 LTEXT "Vri|&Tasainen",    1090, 150, 151,  48, 10
162
 LTEXT   "&Pun:", 726 /*1094*/,249,126,24,10
163
 EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
164
 LTEXT   "&Vihr:",727/*1095*/,249,140,24,10
165
 EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
166
 LTEXT   "Si&n:",728 /*1096*/,249,154,24,10
167
 EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
168
 LTEXT  "&Svy:" ,723 /*1091*/,202,126,22,10
169
 EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
170
 LTEXT  "&Kyll:" ,724 /*1092*/,202,140,22,10
171
 EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
172
 LTEXT  "K&irkk:" ,725 /*1093*/,202,154,22,10
173
 EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
174 175 176 177 178
 CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
 CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
 CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
 CONTROL "" ,702,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 278,4,8,116
 CONTROL "" ,709,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,124,40,26
179 180 181 182 183
 DEFPUSHBUTTON "Ok",  1,  4, 166, 44, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
 PUSHBUTTON "S&ulje", 2, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "O&hje", pshHelp,100,166, 44, 14
 PUSHBUTTON "&Lis vri",              712/*1024*/, 152, 166, 142, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "M&rittele vri >>",      719/*1025*/,   4, 150, 142, 14, WS_GROUP | WS_TABSTOP
184 185 186 187 188 189 190
 PUSHBUTTON  "&i",713,300,200,4,14   /* just a dummy:  'i' is  like  &i  in "sol&id"  */
}


FINDDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 236, 62
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Etsi"
191
FONT 8, "MS Shell Dlg"
192 193
{
 LTEXT "&Etsittv:", -1, 4, 8, 42, 8
194 195 196 197 198 199 200
 EDITTEXT edt1, 47, 7, 128, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
 CHECKBOX "&Koko sana", chx1, 4, 26, 100, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
 CHECKBOX "Kirjaink&oko", chx2, 4, 42, 64, 12, BS_AUTOCHECKBOX | WS_TABSTOP
 GROUPBOX "Suunta", grp1, 107, 26, 68, 28
 CONTROL "&Yls", rad1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 111, 38, 30, 12
 CONTROL "&Alas", rad2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 148, 38, 30, 12

201
 DEFPUSHBUTTON "Etsi &seuraava", IDOK, 182, 5, 50, 14, WS_GROUP | WS_TABSTOP
202 203
 PUSHBUTTON "Peruuta", IDCANCEL,       182, 23, 50, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "O&hje", pshHelp,          182, 45, 50, 14, WS_GROUP | WS_TABSTOP
204 205 206 207 208 209
}


REPLACEDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 230, 94
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Korvaa"
210
FONT 8, "MS Shell Dlg"
211 212
{
 LTEXT "&Etsittv:", -1, 4, 9, 48, 8
213
 EDITTEXT edt1, 54, 7, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
214
 LTEXT "Ko&rvattava:", -1, 4, 26, 48, 8
215 216 217 218
 EDITTEXT edt2, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
 CHECKBOX "&Koko sana", chx1, 5, 46, 104, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
 CHECKBOX "Kirjaink&oko", chx2, 5, 62, 59, 12, BS_AUTOCHECKBOX | WS_TABSTOP

219
 DEFPUSHBUTTON "Etsi &seuraava", IDOK, 174, 4, 50, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318
 PUSHBUTTON "Korv&aa", psh1          , 174, 21, 50, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "Korvaa ka&ikki", psh2   , 174, 38, 50, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "S&ulje", IDCANCEL       , 174, 55, 50, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "O&hje", pshHelp         , 174, 75, 50, 14, WS_GROUP | WS_TABSTOP
}

PRINT32 DIALOG LOADONCALL MOVEABLE DISCARDABLE  32, 32, 288, 186
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
      DS_CONTEXTHELP | DS_3DLOOK
CAPTION "Tulosta"
FONT 8, "MS Shell Dlg"
{
    DEFPUSHBUTTON   "OK",                  IDOK,     180,164, 48,14, WS_GROUP | BS_DEFPUSHBUTTON
    PUSHBUTTON      "Peruuta",             IDCANCEL, 232,164, 48,14, WS_GROUP
    PUSHBUTTON      "Oh&je",               pshHelp,  50, 161, 48,14, WS_GROUP

    GROUPBOX        "Tulostin",            grp4,   8,  4, 272,84, WS_GROUP
    CONTROL         "&Tulosta tiedostoon", chx1, "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,207,70,70,12
    PUSHBUTTON      "&Ominaisuudet",       psh2, 212, 17,  60,14, WS_GROUP
    LTEXT           "&Nimi:",              stc6,  16, 20,  36,8
    COMBOBOX                               cmb4,  52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
    LTEXT           "Tila:",               stc8,  16, 36,  36,10, SS_NOPREFIX
    LTEXT           "Dummy State",         stc12, 52, 36, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
    LTEXT           "Tyyppi:",             stc7,  16, 48,  36,10, SS_NOPREFIX
    LTEXT           "Dummy Type",          stc11, 52, 48, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
    LTEXT           "Sijainti:",           stc10, 16, 60,  36,10, SS_NOPREFIX
    LTEXT           "Dummy Location",      stc14, 52, 60, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
    LTEXT           "Kommentti:",          stc9,  16, 72,  36,10, SS_NOPREFIX
    LTEXT           "Dummy Remark",        stc13, 52, 72, 152,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP

    GROUPBOX        "Kopioita",            grp2, 160, 92, 120,64, WS_GROUP
    LTEXT           "Kopioiden &mr:",   stc5,168,108,68,8
    ICON            "",                    ico3, 162,124,  76,24, WS_GROUP | SS_CENTERIMAGE
    CONTROL         "&Kokoa",              chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,240,130,36,12
    EDITTEXT                               edt3, 240,106,  32,12, WS_GROUP | ES_NUMBER

    GROUPBOX        "Tulosta alueelta",    grp1,   8,92,  144,64, WS_GROUP
    CONTROL         "K&aikki",             rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,106,64,12
    CONTROL         "&Sivut",              rad3,"Button",BS_AUTORADIOBUTTON,16,122,36,12
    CONTROL         "&Valinta",            rad2,"Button",BS_AUTORADIOBUTTON,16,138,64,12
    EDITTEXT                               edt1,  70,122,  26,12, WS_GROUP | ES_NUMBER
    EDITTEXT                               edt2, 118,122,  26,12, WS_GROUP | ES_NUMBER
    RTEXT           "M&ist:",             stc2,  48,124,  20,8
    RTEXT           "Mi&hin:",             stc3,  98,124,  20,8
}

PRINT32_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE  32, 32, 288, 178
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
      DS_CONTEXTHELP | DS_3DLOOK
CAPTION "Tulostuksen Asetukset"
FONT 8, "MS Shell Dlg"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,180,156,48,14,WS_GROUP
    PUSHBUTTON      "Peruuta",IDCANCEL,232,156,48,14
/*    PUSHBUTTON      "Verkko...", psh5, 284,156,48,14 */

    GROUPBOX        "Tulostin",       grp4,   8,  4, 272,84, WS_GROUP
    PUSHBUTTON      "&Ominaisuudet",  psh2, 212, 17,  60,14, WS_GROUP
    LTEXT           "&Nimi:",         stc6,  16, 20,  36,8
    COMBOBOX                          cmb1,  52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
    LTEXT           "Tila:",          stc8,  16, 36,  36,10, SS_NOPREFIX
    LTEXT           "Dummy State",    stc12, 52, 36, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
    LTEXT           "Tyyppi:",        stc7,  16, 48,  36,10, SS_NOPREFIX
    LTEXT           "Dummy Type",     stc11, 52, 48, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
    LTEXT           "Sijainti:",      stc10, 16, 60,  36,10, SS_NOPREFIX
    LTEXT           "Dummy Location", stc14, 52, 60, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
    LTEXT           "Kommentti:",     stc9,  16, 72,  36,10, SS_NOPREFIX
    LTEXT           "Dummy Remark",   stc13, 52, 72, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP

    GROUPBOX        "Paperi",         grp2,   8, 92, 164,56, WS_GROUP
    LTEXT           "&Koko:",         stc2,  16,108,  36, 8
    COMBOBOX                          cmb2,  52,106, 112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
    LTEXT           "&Lhde:",        stc3,  16,128,  36, 8
    COMBOBOX                          cmb3,  52,126, 112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP

    GROUPBOX        "Suunta",         grp1, 180, 92, 100,56, WS_GROUP
    ICON            "",               ico1, 195,112,  18,20, WS_GROUP
    CONTROL         "&Pysty",         rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP |WS_TABSTOP,224,106,52,12
    CONTROL         "V&aaka",         rad2,"Button",BS_AUTORADIOBUTTON,224,126,52,12
END

PAGESETUPDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 240, 240
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Sivun Asetukset"
FONT 8, "MS Shell Dlg"
BEGIN
  CONTROL         "",             rct1, "Static", SS_WHITERECT, 80, 8, 80, 80
  CONTROL         "",             rct2, "Static", SS_GRAYRECT, 160, 12, 4, 80
  CONTROL         "",             rct3, "Static", SS_GRAYRECT,  84, 88, 80, 4
  GROUPBOX        "Paperi",       grp2, 8, 96, 224, 56, BS_GROUPBOX
  LTEXT           "&Koko:",       stc2, 16, 112, 36, 8
  COMBOBOX                        cmb2, 64, 110, 160, 160, CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
  LTEXT           "&Sytt:",     stc3, 16, 132, 36, 8
  COMBOBOX                        cmb3, 64, 130, 160, 160, CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
  GROUPBOX        "Asento",       grp1, 8, 156, 64, 56, BS_GROUPBOX
  AUTORADIOBUTTON "P&ysty",        rad1, 16, 170, 52, 12, BS_AUTORADIOBUTTON
  AUTORADIOBUTTON "V&aaka",     rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
  GROUPBOX        "Reunat",       grp4, 80, 156, 152, 56, BS_GROUPBOX
  LTEXT           "&Vasen:",      stc15, 88, 172, 21, 8
319
  EDITTEXT                        edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
320
  LTEXT           "&Oikea:",      stc16, 159, 172, 27, 8
321
  EDITTEXT                        edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
322
  LTEXT           "&Vasen:",      stc17, 88, 192, 21, 8
323
  EDITTEXT                        edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
324
  LTEXT           "&Pohja:",      stc18, 159, 192, 23, 8
325
  EDITTEXT                        edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375
  DEFPUSHBUTTON   "OK",           IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
  PUSHBUTTON      "Peruuta",      IDCANCEL, 126, 220, 50, 14
  PUSHBUTTON      "T&ulostin...", psh3, 184, 220, 48, 14
END

NEWFILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 280, 164
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_CLIPCHILDREN
CAPTION "Avaa"
FONT 8, "MS Shell Dlg"
{
    LTEXT	"&Kansiosta:",IDC_LOOKINSTATIC,4,6,43,8, SS_NOTIFY
    COMBOBOX	IDC_LOOKIN,49,3,132,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP

    LTEXT	"" , IDC_TOOLBARSTATIC, 181, 2, 102, 17, NOT WS_GROUP | NOT WS_VISIBLE
    LISTBOX	IDC_SHELLSTATIC,4,20,272,85, LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | WS_HSCROLL | NOT WS_VISIBLE

    LTEXT	"&Nimi:",IDC_FILENAMESTATIC,5,112,46,8, SS_NOTIFY
    EDITTEXT	IDC_FILENAME,54,110,155,12,ES_AUTOHSCROLL

    LTEXT	"&Tyyppi:",IDC_FILETYPESTATIC,5,128,42,8, SS_NOTIFY
    COMBOBOX	IDC_FILETYPE,54,126,155,53,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP

    CONTROL	"Avaa vain &lukuoikeuksilla",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,145,100,10

    DEFPUSHBUTTON	"&Avaa",		 IDOK,222,110,50,14
    PUSHBUTTON		"Peruuta",		 IDCANCEL,222,128,50,14
    PUSHBUTTON		"&Ohje",		 pshHelp,222,145,50,14
}

STRINGTABLE DISCARDABLE
{
    IDS_ABOUTBOX            "&Tietoja FolderPicker Test:st"
    IDS_DOCUMENTFOLDERS     "Dokumenttikansiot"
    IDS_PERSONAL            "Omat Dokumentit"
    IDS_FAVORITES           "Suosikit"
    IDS_PATH                "Jrjestelmkansio"
    IDS_DESKTOP             "Typyt"
    IDS_FONTS               "Fontit"
    IDS_MYCOMPUTER          "Oma Tietokone"
}

STRINGTABLE DISCARDABLE
{
    IDS_SYSTEMFOLDERS       "Jrjestemkansiot"
    IDS_LOCALHARDRIVES      "Paikalliset kiintolevyt"
    IDS_FILENOTFOUND        "Tiedostoa ei lydy"
    IDS_VERIFYFILE          "Varmista, ett tiedoston nimi on oikein"
    IDS_CREATEFILE          "Tiedostoa ei ole olemassa\nHaluatko luoda tiedoston"
    IDS_OVERWRITEFILE       "Tiedosto on jo olemassa.\nHaluatko ylikirjoitaa sen?"
    IDS_INVALID_FILENAME_TITLE "Kansio sislt epkelpoja merkkej"
376
    IDS_INVALID_FILENAME    "Tiedoston nimi ei voi sislt nit merkkej:\n                          / : < > |"
377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398
    IDS_PATHNOTEXISTING     "Kansiota ei ole"
    IDS_FILENOTEXISTING     "Tiedostoa ei ole"
}

STRINGTABLE DISCARDABLE
{
    IDS_UPFOLDER         "Kansio Ylspin"
    IDS_NEWFOLDER        "Luo Uusi Kansio"
    IDS_LISTVIEW         "Lista"
    IDS_REPORTVIEW       "Tiedot"
    IDS_TODESKTOP        "Selaa Typyt"
}

STRINGTABLE DISCARDABLE
{
    PD32_PRINT_TITLE       "Tulosta"

    PD32_VALUE_UREADABLE                  "Lukukelvoton merkint"
    PD32_INVALID_PAGE_RANGE               "Arvo ei ole paperien mrn alueella.\nAnna arvo vlilt %d ja %d."
    PD32_FROM_NOT_ABOVE_TO                "Alukuarvo ei voi olla suurempi kuin loppuarvo."
    PD32_MARGINS_OVERLAP                  "Marginaalit ovat pllekin tai ulkona paperin alueelta.\nMrit marginaalit uudestaan."
    PD32_NR_OF_COPIES_EMPTY               "Kopioiden mr tytyy antaa."
399
    PD32_TOO_LARGE_COPIES                 "Tulostin ei tue nin montaa kopiota.\nValitse arvo vlilt 1 ja %d."
400 401 402 403 404 405
    PD32_PRINT_ERROR                      "Tulostinvirhe."
    PD32_NO_DEFAULT_PRINTER               "Oletustulostinta ei ole mritetty."
    PD32_CANT_FIND_PRINTER                "Tulostinta ei lydy."
    PD32_OUT_OF_MEMORY                    "Muisti loppu."
    PD32_GENERIC_ERROR                    "Virhe."
    PD32_DRIVER_UNKNOWN                   "Tuntematon tulostinajuri."
406 407 408
    PD32_NO_DEVICES                       "Before you can perform printer-related tasks \
such as page setup or printing a document, you need to install a printer. \
Please install one and retry."
409 410 411 412

    PD32_DEFAULT_PRINTER                  "Oletustulostin; "
    PD32_NR_OF_DOCUMENTS_IN_QUEUE         "Jonossa on %d dokumenttia"
    PD32_MARGINS_IN_INCHES                "Marginaalit [inches]"
413 414
    PD32_MARGINS_IN_MILLIMETERS           "Marginaalit [mm]"
    PD32_MILLIMETERS                      "mm"
415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471

    PD32_PRINTER_STATUS_READY             "Valmis"
    PD32_PRINTER_STATUS_PAUSED            "Pysytetty; "
    PD32_PRINTER_STATUS_ERROR             "Virhe; "
    PD32_PRINTER_STATUS_PENDING_DELETION  "Tuhoutumassa; "
    PD32_PRINTER_STATUS_PAPER_JAM         "Paperitukos; "
    PD32_PRINTER_STATUS_PAPER_OUT         "Paperi loppu; "
    PD32_PRINTER_STATUS_MANUAL_FEED       "Syt paperi ksin; "
    PD32_PRINTER_STATUS_PAPER_PROBLEM     "Ongelma paperin kanssa; "
    PD32_PRINTER_STATUS_OFFLINE           "Ei yhteytt tulostimeen; "
    PD32_PRINTER_STATUS_IO_ACTIVE         "I/O Toiminnassa; "
    PD32_PRINTER_STATUS_BUSY              "Varattu; "
    PD32_PRINTER_STATUS_PRINTING          "Tulostaa; "
    PD32_PRINTER_STATUS_OUTPUT_BIN_FULL   "Output tray is full; "
    PD32_PRINTER_STATUS_NOT_AVAILABLE     "Ei saatavilla; "
    PD32_PRINTER_STATUS_WAITING           "Odottaa; "
    PD32_PRINTER_STATUS_PROCESSING        "Ksitelln; "
    PD32_PRINTER_STATUS_INITIALIZING      "Alustetaan; "
    PD32_PRINTER_STATUS_WARMING_UP        "Lmmitetn; "
    PD32_PRINTER_STATUS_TONER_LOW         "Vriaine vhiss; "
    PD32_PRINTER_STATUS_NO_TONER          "Ei vriainetta; "
    PD32_PRINTER_STATUS_PAGE_PUNT         "Page punt; "
    PD32_PRINTER_STATUS_USER_INTERVENTION "Kyttjn keskeyttm; "
    PD32_PRINTER_STATUS_OUT_OF_MEMORY     "Muisti loppu; "
    PD32_PRINTER_STATUS_DOOR_OPEN         "Tulostimen kansi on auki; "
    PD32_PRINTER_STATUS_SERVER_UNKNOWN    "Tulostinpalvelin tuntematon; "
    PD32_PRINTER_STATUS_POWER_SAVE        "Virranssttila; "
}

STRINGTABLE DISCARDABLE /* Color names */
{
    IDS_COLOR_BLACK     "Musta"
    IDS_COLOR_MAROON    "Kastanjanruskea"
    IDS_COLOR_GREEN     "Vihre"
    IDS_COLOR_OLIVE     "Oliivinvihre"
    IDS_COLOR_NAVY      "Laivastonsininen"
    IDS_COLOR_PURPLE    "Purppura"
    IDS_COLOR_TEAL      "Turkoosi"
    IDS_COLOR_GRAY      "Harmaa"
    IDS_COLOR_SILVER    "Hopea"
    IDS_COLOR_RED       "Punainen"
    IDS_COLOR_LIME      "Vaaleanvihre"
    IDS_COLOR_YELLOW    "Keltainen"
    IDS_COLOR_BLUE      "Sininen"
    IDS_COLOR_FUCHSIA   "Tummanpunainen"
    IDS_COLOR_AQUA      "Vaaleanturkoosi"
    IDS_COLOR_WHITE     "Valkoinen"
}

STRINGTABLE DISCARDABLE
{
    IDS_FONT_SIZE   "Valitse fontin koko vlilt %d ja %d pistett."
    IDS_SAVE_BUTTON "&Tallenna"
    IDS_SAVE_IN     "&Kansioon:"
    IDS_SAVE        "Tallenna"
    IDS_SAVE_AS     "Tallenna nimell"
    IDS_OPEN_FILE   "Avaa Tiedosto"
472
}