diff --git a/AUTHORS b/AUTHORS index 55f7d39839b..b63357c8ef7 100644 --- a/AUTHORS +++ b/AUTHORS @@ -42,6 +42,7 @@ Chad Fraleigh, Matthew Francis, Peter Galbavy, Ramon Garcia, +Klaas van Gend, Matthew Ghio, Jody Goldberg, Hans de Graaff, diff --git a/documentation/languages b/documentation/languages index 933b6cfdde0..5e6534a3fa9 100644 --- a/documentation/languages +++ b/documentation/languages @@ -1,7 +1,9 @@ +ADDING LANGUAGES TO WINE + This file documents the necessary procedure for adding a new language to the list of languages that Wine can display system menus and forms in. Currently at least the following languages are still missing: -Bulgarian, Chinese, Greek, Icelandic, Japanese, Dutch, Romanian, +Bulgarian, Chinese, Greek, Icelandic, Japanese, Romanian, Russian, Croatian, Slovak, Turkish, and Slovanian. To add a new language you need to be able to translate the relatively @@ -9,34 +11,38 @@ few texts, of course. You will need very little knowledge of programming, so you have almost no excuses for not adding your language, right? We should easily be able to support 20 languages within a few months, get going! Apart from re-compilation it'll take you about an -hour. +hour or two. To add a new language to the list of languages that Wine can handle you must... -1. Edit ./wine.man (search for -language) to show the new language - abbreviation. +0. Find the language ID in /include/winnls.h . -2. Edit misc/main.c variable "Languages" to contain the new language +1. Look in ole/ole2nls.c if your language is already incorporated in + the "static const struct NLS_langlocale". If not: find the + appropriate entries in /include/winnls.h and add them to the list. + +2. Edit the parameters defined in /ole/nls/*.nls to fit your local + habits and language. + +3. Edit documentation/wine.man (search for -language) to show the new + language abbreviation. + +4. Edit misc/main.c variable "Languages" to contain the new language abbreviation and language ID. Also edit macro "USAGE" to show the new abbreviation. -3. Edit include/options.h enum "WINE_LANGUAGE" to have a member called +5. Edit include/options.h enum "WINE_LANGUAGE" to have a member called LANG_XX where XX is the new abbreviation. -4. Edit ole/ole2nls.c function "GetUserDefaultLCID" to contain a - case for your language by uncommenting the return value of it. +6. Edit resources/sysres.c variable "SYSRES_Resources" to contain an + entry for your language. -5. Edit resources/sysrec.c to include "sysres_XX.h" where XX is the - abbreviation for your language. (That file will be produced auto- - matically.) Edit variable "SYSRES_Resources" to contain an entry - for your language. - -6. Create a new file, resources/sysres_XX.rc, where XX is the - abbreviation that you chose. Your best bet is to copy one of the - other *.rc files and start translating. [Warning: the author of - this file does not know the details of the structure of these - files. There seems to be no need to, however.] +7. Create a new file, resources/sysres_XX.rc, where XX is the + abbreviation that you chose. Your best bet is to copy sysres_En.rc + and start translating. [Warning: the author of this file does not + know the details of the structure of these files. + There seems to be no need to, however.] In menus, the character "&" means that the next character will be highlighted and that pressing that letter will select the item. @@ -44,17 +50,18 @@ you must... copy the positions from (say) English. In particular, items within one menu should have different highlighted letters. -7. Edit resources/Makefile.in to add the name of the new file to the +8. Edit resources/Makefile.in to add the name of the new file to the SYSRES_SRCS variable. -8. Edit ole/ole2nls.c function "GetLocaleInfoA" to contain a case for - your language. - 9. Re-configure, re-make dependencies, and re-make Wine. -10. Check your new menus and forms; when they're ok, submit patches - for inclusion in the next Wine release, see file ./ANNOUNCE for - details about where to submit. +10. Check your new menus and forms; when they're not ok, + go back to 7) and adapt the sizes, etc. + +11. Edit /resources/TODO if necessary. + +12. Submit patches for inclusion in the next Wine release, + see file ./ANNOUNCE for details about where to submit. January 1996 @@ -64,3 +71,5 @@ Morten Welinder place missing from the above list, submit a patch to this file please. Also note that re-organization of the source code might change the list of places.] + +Therefore revised Februari 1999 by Klaas van Gend diff --git a/include/authors.h b/include/authors.h index df7b0c674d7..84960607dc4 100644 --- a/include/authors.h +++ b/include/authors.h @@ -40,6 +40,7 @@ static const char * const SHELL_People[] = "Matthew Francis", "Peter Galbavy", "Ramon Garcia", + "Klaas van Gend", "Matthew Ghio", "Jody Goldberg", "Hans de Graaff", diff --git a/include/options.h b/include/options.h index 62530f55f92..17cf62a7e7f 100644 --- a/include/options.h +++ b/include/options.h @@ -31,7 +31,8 @@ typedef enum LANG_Pl, /* Polish */ LANG_Pt, /* Portuguese */ LANG_Sv, /* Swedish */ - LANG_Ca /* Catalan */ + LANG_Ca, /* Catalan */ + LANG_Nl /* Dutch */ } WINE_LANGUAGE; typedef struct diff --git a/misc/main.c b/misc/main.c index 6a4c424918e..d6756b08c2a 100644 --- a/misc/main.c +++ b/misc/main.c @@ -62,6 +62,7 @@ const WINE_LANGUAGE_DEF Languages[] = {"Pt",0x0416}, /* LANG_Pt */ {"Sv",0x041d}, /* LANG_Sv */ {"Ca",0x0403}, /* LANG_Ca */ + {"Nl",0x0413}, /* LANG_Nl */ {NULL,0} }; @@ -116,7 +117,7 @@ static char szUsage[] = " -help Show this help message\n" " -iconic Start as an icon\n" " -language xx Set the language (one of Ca,Cs,Da,De,En,Eo,Es,Fi,Fr,Hu,It,\n" - " Ko,No,Pl,Pt,Sv)\n" + " Ko,Nl,No,Pl,Pt,Sv)\n" " -managed Allow the window manager to manage created windows\n" " -mode mode Start Wine in a particular mode (standard or enhanced)\n" " -name name Set the application name\n" diff --git a/ole/nls/nld.nls b/ole/nls/nld.nls index 1fe18ac1d7f..d9f960e0ec2 100644 --- a/ole/nls/nld.nls +++ b/ole/nls/nld.nls @@ -17,28 +17,28 @@ LOCVAL(LOCALE_IDEFAULTLANGUAGE,"0413") LOCVAL(LOCALE_IDEFAULTCOUNTRY,"31") LOCVAL(LOCALE_IDEFAULTCODEPAGE,"850") LOCVAL(LOCALE_IDEFAULTANSICODEPAGE,"1252") -/* LOCVAL(LOCALE_SLIST,"") */ +LOCVAL(LOCALE_SLIST,",") /* LOCVAL(LOCALE_IMEASURE,"") */ -/* LOCVAL(LOCALE_SDECIMAL,"") */ -/* LOCVAL(LOCALE_STHOUSAND,"") */ -/* LOCVAL(LOCALE_SGROUPING) */ -/* LOCVAL(LOCALE_IDIGITS,"2") */ -/* LOCVAL(LOCALE_ILZERO,"1") */ -/* LOCVAL(LOCALE_INEGNUMBER) */ +LOCVAL(LOCALE_SDECIMAL,",") +LOCVAL(LOCALE_STHOUSAND,".") +LOCVAL(LOCALE_SGROUPING, "3;0") +LOCVAL(LOCALE_IDIGITS,"2") +LOCVAL(LOCALE_ILZERO,"1") +LOCVAL(LOCALE_INEGNUMBER,"1") LOCVAL(LOCALE_SNATIVEDIGITS,"0123456789") LOCVAL(LOCALE_SCURRENCY,"F") LOCVAL(LOCALE_SINTLSYMBOL,"NLG") /* LOCVAL(LOCALE_SMONDECIMALSEP,",") */ /* LOCVAL(LOCALE_SMONTHOUSANDSEP,".") */ LOCVAL(LOCALE_SMONGROUPING,"3;0") -/* LOCVAL(LOCALE_ICURRDIGITS,"2") */ +LOCVAL(LOCALE_ICURRDIGITS,"2") /* LOCVAL(LOCALE_IINTLCURRDIGITS) */ /* LOCVAL(LOCALE_ICURRENCY,"3") */ -/* LOCVAL(LOCALE_INEGCURR,"8") */ -/* LOCVAL(LOCALE_SDATE,".") */ -/* LOCVAL(LOCALE_STIME,":") */ -/* LOCVAL(LOCALE_SSHORTDATE,"dd/MM-yyyy") */ -/* LOCVAL(LOCALE_SLONGDATE,"ddd, d. MMMM yyyy") */ +LOCVAL(LOCALE_INEGCURR,"8") +LOCVAL(LOCALE_SDATE,"-") +LOCVAL(LOCALE_STIME,":") +LOCVAL(LOCALE_SSHORTDATE,"dd-mm-yyyy") +LOCVAL(LOCALE_SLONGDATE,"ddd, d MMMM yyyy") /* LOCVAL(LOCALE_STIMEFORMAT) */ /* LOCVAL(LOCALE_IDATE,"1") */ /* LOCVAL(LOCALE_ILDATE) */ @@ -48,8 +48,8 @@ LOCVAL(LOCALE_ITIME,"1") LOCVAL(LOCALE_ITLZERO,"1") /* LOCVAL(LOCALE_IDAYLZERO) */ /* LOCVAL(LOCALE_IMONLZERO) */ -/* LOCVAL(LOCALE_S1159, "") */ -/* LOCVAL(LOCALE_S2359, "") */ +LOCVAL(LOCALE_S1159, "") +LOCVAL(LOCALE_S2359, "") LOCVAL(LOCALE_ICALENDARTYPE, "1") /* LOCVAL(LOCALE_IOPTIONALCALENDAR) */ /* LOCVAL(LOCALE_IFIRSTDAYOFWEEK) */ @@ -99,16 +99,16 @@ LOCVAL(LOCALE_SABBREVMONTHNAME11,"nov") LOCVAL(LOCALE_SABBREVMONTHNAME12,"dec") LOCVAL(LOCALE_SABBREVMONTHNAME13,"") -/* LOCVAL(LOCALE_SPOSITIVESIGN, "") */ -/* LOCVAL(LOCALE_SNEGATIVESIGN, "") */ -/* LOCVAL(LOCALE_IPOSSIGNPOSN, "") */ -/* LOCVAL(LOCALE_INEGSIGNPOSN, "") */ -/* LOCVAL(LOCALE_IPOSSYMPRECEDES, "") */ -/* LOCVAL(LOCALE_IPOSSEPBYSPACE, "") */ -/* LOCVAL(LOCALE_INEGSYMPRECEDES, "") */ -/* LOCVAL(LOCALE_INEGSEPBYSPACE, "") */ +LOCVAL(LOCALE_SPOSITIVESIGN, "+") +LOCVAL(LOCALE_SNEGATIVESIGN, "-") +LOCVAL(LOCALE_IPOSSIGNPOSN, "3") +LOCVAL(LOCALE_INEGSIGNPOSN, "3") +LOCVAL(LOCALE_IPOSSYMPRECEDES, "1") +LOCVAL(LOCALE_IPOSSEPBYSPACE, "0") +LOCVAL(LOCALE_INEGSYMPRECEDES, "1") +LOCVAL(LOCALE_INEGSEPBYSPACE, "0") /* LOCVAL(LOCALE_FONTSIGNATURE, "") */ LOCVAL(LOCALE_SISO639LANGNAME,"nl") LOCVAL(LOCALE_SISO3166CTRYNAME,"NL") -/* Gregorianse kalender */ +/* Gregoriaanse kalender */ diff --git a/ole/ole2nls.c b/ole/ole2nls.c index 6e52721ba37..067ddd5d737 100644 --- a/ole/ole2nls.c +++ b/ole/ole2nls.c @@ -194,6 +194,16 @@ LANG_BEGIN (LANG_KOREAN, SUBLANG_KOREAN) /*0x0412*/ #include "nls/kor.nls" LANG_END +LANG_BEGIN (LANG_DUTCH, SUBLANG_DUTCH) /*0x0413*/ +#include "nls/nld.nls" +LANG_END +LANG_BEGIN (LANG_DUTCH, SUBLANG_DUTCH_BELGIAN) /*0x0813*/ +#include "nls/nlb.nls" +LANG_END +LANG_BEGIN (LANG_DUTCH, SUBLANG_DUTCH_SURINAM) /*0x0C13*/ +#include "nls/nls.nls" +LANG_END + LANG_BEGIN (LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL) /*0x0414*/ #include "nls/nor.nls" LANG_END diff --git a/resources/Makefile.in b/resources/Makefile.in index 8eb1b1832da..129ae150e9e 100644 --- a/resources/Makefile.in +++ b/resources/Makefile.in @@ -20,6 +20,7 @@ RC_SRCS = \ sysres_Hu.rc \ sysres_It.rc \ sysres_Ko.rc \ + sysres_Nl.rc \ sysres_No.rc \ sysres_Pl.rc \ sysres_Po.rc \ diff --git a/resources/TODO b/resources/TODO index 83f762e2445..c109edc91c1 100644 --- a/resources/TODO +++ b/resources/TODO @@ -46,6 +46,7 @@ Today it works well for: * Korean * Finnish * Danish +* Dutch ...to be continued...... Thank you. @@ -67,6 +68,7 @@ and translate it to your language. It's okay for: * Italian * French * Danish +* Dutch ..... Thank you. @@ -86,6 +88,7 @@ This has now been done for: * English * Danish +* Dutch ..... Note: I picked the IDs of the menuitems "at random". When someone wants to @@ -109,6 +112,7 @@ translations to all supported languages. At present it is only done for * English * German +* Dutch After you implemented it for your language, please add it to the list above. diff --git a/resources/sysres.c b/resources/sysres.c index 3f3975dc6f0..4cd9ff595fc 100644 --- a/resources/sysres.c +++ b/resources/sysres.c @@ -26,6 +26,7 @@ extern const wrc_resource32_t * const sysres_Pl_ResTable[]; extern const wrc_resource32_t * const sysres_Po_ResTable[]; extern const wrc_resource32_t * const sysres_Sw_ResTable[]; extern const wrc_resource32_t * const sysres_Ca_ResTable[]; +extern const wrc_resource32_t * const sysres_Nl_ResTable[]; static const wrc_resource32_t * const * SYSRES_Resources[] = { @@ -44,7 +45,8 @@ static const wrc_resource32_t * const * SYSRES_Resources[] = sysres_Pl_ResTable, /* LANG_Pl */ sysres_Po_ResTable, /* LANG_Po */ sysres_Sw_ResTable, /* LANG_Sw */ - sysres_Ca_ResTable /* LANG_Ca */ + sysres_Ca_ResTable, /* LANG_Ca */ + sysres_Nl_ResTable /* LANG_Nl */ }; diff --git a/resources/sysres_Nl.rc b/resources/sysres_Nl.rc new file mode 100644 index 00000000000..fb261af76f6 --- /dev/null +++ b/resources/sysres_Nl.rc @@ -0,0 +1,254 @@ +#include +#include + +SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE +{ + MENUITEM "&Vorig formaat", 61728 + MENUITEM "Ve&rplaatsen", 61456 + MENUITEM "&Grootte", 61440 + MENUITEM "Mi&nimaliseren", 61472 + MENUITEM "&Maximaliseren", 61488 + MENUITEM SEPARATOR + MENUITEM "&Sluiten\tAlt-F4", 61536 + MENUITEM SEPARATOR + MENUITEM "&Overschakelen naar ...\tCtrl-Esc", 61744 + MENUITEM SEPARATOR + MENUITEM "&Info over WINE ...", 61761 + MENUITEM SEPARATOR + MENUITEM "&Put mark in debug log", 61762 +} + +EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE +{ + POPUP "" + BEGIN + MENUITEM "&Ongedaan maken", EM_UNDO32 + MENUITEM SEPARATOR + MENUITEM "K&nippen", WM_CUT + MENUITEM "&Kopieren", WM_COPY + MENUITEM "&Plakken", WM_PASTE + MENUITEM "&Wissen", WM_CLEAR + MENUITEM SEPARATOR + MENUITEM "&Alles selecteren", EM_SETSEL32 + END +} + +MSGBOX DIALOG 100, 80, 216, 168 +STYLE DS_SYSMODAL | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +BEGIN + ICON "", 1088, 8, 20, 16, 16, WS_CHILD | WS_VISIBLE + LTEXT "", 100, 32, 4, 176, 48, WS_CHILD | WS_VISIBLE | WS_GROUP + PUSHBUTTON "&OK", 1, 16, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP + PUSHBUTTON "&Annuleren", 2, 64, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP + PUSHBUTTON "A&fbreken", 3, 112, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP + PUSHBUTTON "&Herhaal", 4, 160, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP + PUSHBUTTON "N&egeer", 5, 208, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP + PUSHBUTTON "&Ja", 6, 256, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP + PUSHBUTTON "&Nee", 7, 304, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP +END + +SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152 +STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Info %s" +FONT 10, "System" +{ + DEFPUSHBUTTON "OK", 1, 153, 130, 50, 12, WS_TABSTOP + LISTBOX 99, 8, 65, 137, 82, LBS_NOTIFY | WS_VSCROLL | WS_BORDER + ICON "", 1088, 189, 10, 14, 16 + LTEXT "", 100, 8, 10, 137, 33 + LTEXT "Wine is geschreven door:", 98, 8, 55, 137, 10 +} + +OPEN_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Bestand openen" +FONT 8, "Helv" +{ + LTEXT "Bestands&naam:", 1090, 6, 6, 76, 9 + EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP + LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP + LTEXT "&Zoeken in:", -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 "Bestands&typen:", 1089, 6, 104, 90, 9 + COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP + LTEXT "Dri&ves:", 1091, 110, 104, 92, 9 + COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP + DEFPUSHBUTTON "&Openen", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP + PUSHBUTTON "Annuleren", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP + PUSHBUTTON "&Help", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP + CHECKBOX "Alleen &Lezen", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP +} + + +SAVE_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Opslaan als ..." +FONT 8, "Helv" +{ + LTEXT "Bestands&naam:", 1090, 6, 6, 76, 9 + EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP + LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP + LTEXT "&Zoeken in:", -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 "Bestands&typen:", 1089, 6, 104, 90, 9 + COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP + LTEXT "Dri&ves:", 1091, 110, 104, 92, 9 + COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP + DEFPUSHBUTTON "&Opslaan als", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP + PUSHBUTTON "Annuleren", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP + PUSHBUTTON "&Help", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP + CHECKBOX "Alleen &Lezen", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP +} + + +PRINT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Afdrukken" +FONT 8, "Helv" +{ + LTEXT "Printer:", 1088, 6, 6, 40, 9 + LTEXT "", 1089, 60, 6, 150, 9 + GROUPBOX "Afdrukbereik", 1072, 6, 30, 160, 65, BS_GROUPBOX + RADIOBUTTON "&Alles", 1056, 16, 45, 60, 12 + RADIOBUTTON "Sele&ctie", 1057, 16, 60, 60, 12 + RADIOBUTTON "&Pagina's", 1058, 16, 75, 60, 12 + DEFPUSHBUTTON "OK", 1, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP + PUSHBUTTON "Annuleren", 2, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP + PUSHBUTTON "&Eigenschappen", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP + LTEXT "&van:", 1090, 60, 80, 30, 9 + LTEXT "&t/m:", 1091, 120, 80, 30, 9 + LTEXT "Afdruk&kwaliteit:", 1092, 6, 100, 76, 9 + COMBOBOX 1136, 80, 100, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP + CHECKBOX "Naar &bestand", 1040, 20, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP + CHECKBOX "Condensed", 1041, 160, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP +} + + +PRINT_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Afdrukeigenschappen" +FONT 8, "Helv" +{ + GROUPBOX "Printer", 1072, 6, 10, 180, 65, BS_GROUPBOX + RADIOBUTTON "&Default Printer", 1056, 16, 20, 80, 12 + LTEXT "[geen]", 1088, 35, 35, 120, 9 + RADIOBUTTON "Specifieke &Printer", 1057, 16, 50, 80, 12 + COMBOBOX 1136, 35, 65, 149, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP + DEFPUSHBUTTON "OK", 1, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP + PUSHBUTTON "Annuleren", 2, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP + PUSHBUTTON "&Setup", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP + GROUPBOX "Afdrukstand", 1073, 6, 85, 100, 50, BS_GROUPBOX + RADIOBUTTON "&Staand", 1058, 50, 100, 40, 12 + RADIOBUTTON "&Liggend", 1059, 50, 115, 40, 12 + ICON "LANDSCAP", 1097, 10, 95, 32, 32 + ICON "PORTRAIT", 1098, 10, 95, 32, 32 + GROUPBOX "Papier", 1074, 120, 85, 180, 50, BS_GROUPBOX + LTEXT "&Formaat", 1089, 130, 95, 30, 9 + LTEXT "&Bron", 1090, 130, 110, 30, 9 + COMBOBOX 1137, 155, 95, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP + COMBOBOX 1138, 155, 110, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP +} + + +CHOOSE_FONT DIALOG DISCARDABLE 13, 54, 264, 147 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Lettertype" +FONT 8, "Helv" +{ + LTEXT "&Lettertype:",1088 ,6,3,40,9 + COMBOBOX 1136 ,6,13,94,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL | + CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE + LTEXT "Teken&stijl:",1089 ,108,3,44,9 + COMBOBOX 1137,108,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL | + WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE + LTEXT "&Grootte:",1090,179,3,30,9 + COMBOBOX 1138,179,13,32,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL | + WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT + DEFPUSHBUTTON "OK",IDOK,218,6,40,14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON + PUSHBUTTON "Annuleren",IDCANCEL,218,23,40,14,WS_GROUP | WS_TABSTOP + PUSHBUTTON "&Toepassen", 1026,218,40,40,14,WS_GROUP | WS_TABSTOP + PUSHBUTTON "&Help" , 1038,218,57,40,14,WS_GROUP | WS_TABSTOP + GROUPBOX "Effecten",1072,6,72,84,34,WS_GROUP + CHECKBOX "&Doorhalen", 1040, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP + CHECKBOX "&Onderstrepen", 1041, 10,94,50,10, BS_AUTOCHECKBOX + LTEXT "&Kleur:", 1091 ,6,110,30,9 + COMBOBOX 1139,6,120,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | + CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP + GROUPBOX "Voorbeeld",1073,98,72,160,49,WS_GROUP + CTEXT "AaBbYyZz",1093,104,81,149,37,SS_NOPREFIX | WS_VISIBLE +} + + +CHOOSE_COLOR DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 300, 200 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Kleur" +FONT 8, "Helv" +{ + LTEXT "&Basiskleuren:", 1088, 4, 4, 140, 10 + LTEXT "&Aangepaste kleuren:", 1089, 4, 106, 140, 10 + LTEXT "Kleur | &Effen", 1090, 157, 151, 48, 10 + LTEXT "&Rood:", 726 /*1094*/, 256,126,24,10 + EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP + LTEXT "&Groen:",727/*1095*/, 256,140,24,10 + EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP + LTEXT "Blau&w:",728 /*1096*/, 256,154,24,10 + EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP + LTEXT "Ti&nt:" ,723 /*1091*/, 196,126,22,10 + EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP + LTEXT "&Intensiteit:" ,724 /*1092*/, 196,140,22,10 + EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP + LTEXT "&Helderheid:" ,725 /*1093*/, 196,154,22,10 + EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP + 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 + DEFPUSHBUTTON "OK", 1, 4, 166, 44, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP + PUSHBUTTON "Annuleren", 2, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP + PUSHBUTTON "Help", 1038,100,166, 44, 14 + PUSHBUTTON "&Toevoegen aan Aangepaste kleuren", 712/*1024*/, 152, 166, 142, 14, WS_GROUP | WS_TABSTOP + PUSHBUTTON "&Definieer Aangepaste kleuren >>", 719/*1025*/, 4, 150, 142, 14, WS_GROUP | WS_TABSTOP + PUSHBUTTON "&i",713,300,200,4,14 /* just a dummy: 'i' is like &i in "sol&id" */ +} + + +FIND_TEXT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 236, 62 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Tekst zoeken" +FONT 8, "Helv" +{ + LTEXT "&Zoek naar:", -1, 4, 8, 42, 8 + EDITTEXT 1152, 47, 7, 128, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP + CHECKBOX "Heel &woord", 1040, 4, 26, 100, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP + CHECKBOX "Gelijke &hoofd-/kleine letters", 1041, 4, 42, 64, 12, BS_AUTOCHECKBOX | WS_TABSTOP + GROUPBOX "Zoekrichting", 1072, 107, 26, 68, 28 + CONTROL "&Omhoog", 1056, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 111, 38, 20, 12 + CONTROL "Om&laag", 1057, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 38, 30, 12 + + DEFPUSHBUTTON "&Volgende zoeken", IDOK, 182, 5, 50, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON + PUSHBUTTON "Annuleren", IDCANCEL, 182, 23, 50, 14, WS_GROUP | WS_TABSTOP + PUSHBUTTON "&Help", pshHelp , 182, 45, 50, 14, WS_GROUP | WS_TABSTOP +} + + +REPLACE_TEXT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 230, 94 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Tekst vervangen" +FONT 8, "Helv" +{ + LTEXT "&Zoek naar:", -1, 4, 9, 48, 8 + EDITTEXT 1152, 54, 7, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP + LTEXT "Vervang &door:", -1, 4, 26, 48, 8 + EDITTEXT 1153, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP + CHECKBOX "Heel &woord", 1040, 5, 46, 104, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP + CHECKBOX "Gelijke &hoofd-/kleine letters", 1041, 5, 62, 59, 12, BS_AUTOCHECKBOX | WS_TABSTOP + + DEFPUSHBUTTON "Volgende zoeken", IDOK, 174, 4, 50, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON + PUSHBUTTON "Ve&rvangen", psh1 , 174, 21, 50, 14, WS_GROUP | WS_TABSTOP + PUSHBUTTON "&Alles vervangen", psh2 , 174, 38, 50, 14, WS_GROUP | WS_TABSTOP + PUSHBUTTON "Annuleren", IDCANCEL, 174, 55, 50, 14, WS_GROUP | WS_TABSTOP + PUSHBUTTON "&Help", pshHelp , 174, 75, 50, 14, WS_GROUP | WS_TABSTOP +}