Sync to Wine-0_9_1:
Vijay Kiran Kamuju <infyquest(a)gmail.com>
- Jonathan Ernst <Jonathan(a)ErnstFamily.ch>
Display an error if no printer is installed.
Michael Jung <mjung(a)iss.tu-darmstadt.de>
- Initialize COM prior to displaying the file dialog.
Henning Gerhardt <henning.gerhardt(a)web.de>
- Update German resource file.
David Kredba <kredba(a)math.cas.cz>
- Czech resources update.
Deleted: trunk/reactos/lib/comdlg32/Makefile.in
Modified: trunk/reactos/lib/comdlg32/cdlg.h
Modified: trunk/reactos/lib/comdlg32/cdlg32.c
Modified: trunk/reactos/lib/comdlg32/cdlg_Bg.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Cn.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Cs.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_De.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_En.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Es.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Fi.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Fr.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_It.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Nl.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_No.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Pl.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Pt.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Ru.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Si.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Sk.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Sv.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Th.rc
Modified: trunk/reactos/lib/comdlg32/cdlg_Uk.rc
Modified: trunk/reactos/lib/comdlg32/colordlg.c
Modified: trunk/reactos/lib/comdlg32/comdlg32.xml
Modified: trunk/reactos/lib/comdlg32/filedlg.c
Modified: trunk/reactos/lib/comdlg32/filetitle.c
Modified: trunk/reactos/lib/comdlg32/finddlg32.c
Modified: trunk/reactos/lib/comdlg32/fontdlg.c
Modified: trunk/reactos/lib/comdlg32/printdlg.c
_____
Deleted: trunk/reactos/lib/comdlg32/Makefile.in
--- trunk/reactos/lib/comdlg32/Makefile.in 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/Makefile.in 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -1,48 +0,0 @@
-TOPSRCDIR = @top_srcdir@
-TOPOBJDIR = ../..
-SRCDIR = @srcdir@
-VPATH = @srcdir@
-MODULE = comdlg32.dll
-IMPORTLIB = libcomdlg32.$(IMPLIBEXT)
-IMPORTS = shell32 shlwapi comctl32 winspool user32 gdi32 advapi32
kernel32 ntdll
-EXTRALIBS = -luuid
-
-C_SRCS = \
- cdlg32.c \
- colordlg.c \
- filedlg.c \
- filedlg31.c \
- filedlgbrowser.c \
- filetitle.c \
- finddlg32.c \
- fontdlg.c \
- printdlg.c
-
-C_SRCS16 = \
- colordlg16.c \
- filedlg16.c \
- finddlg.c \
- fontdlg16.c \
- printdlg16.c
-
-SPEC_SRCS16 = commdlg.spec
-
-RC_SRCS = rsrc.rc
-RC_BINSRC = cdlg_xx.rc
-RC_BINARIES = \
- 800.bmp \
- cdrom.ico \
- floppy.ico \
- folder.ico \
- folder2.ico \
- fontpics.bmp \
- hdisk.ico \
- network.ico \
- pd32_collate.ico \
- pd32_landscape.ico \
- pd32_nocollate.ico \
- pd32_portrait.ico
-
-@MAKE_DLL_RULES@
-
-### Dependencies:
_____
Modified: trunk/reactos/lib/comdlg32/cdlg.h
--- trunk/reactos/lib/comdlg32/cdlg.h 2005-11-17 19:36:54 UTC (rev
19296)
+++ trunk/reactos/lib/comdlg32/cdlg.h 2005-11-17 19:44:07 UTC (rev
19297)
@@ -63,6 +63,7 @@
#define PD32_OUT_OF_MEMORY 1113
#define PD32_GENERIC_ERROR 1114
#define PD32_DRIVER_UNKNOWN 1115
+#define PD32_NO_DEVICES 1121
#define PD32_PRINTER_STATUS_READY 1536
#define PD32_PRINTER_STATUS_PAUSED 1537
_____
Modified: trunk/reactos/lib/comdlg32/cdlg32.c
--- trunk/reactos/lib/comdlg32/cdlg32.c 2005-11-17 19:36:54 UTC (rev
19296)
+++ trunk/reactos/lib/comdlg32/cdlg32.c 2005-11-17 19:44:07 UTC (rev
19297)
@@ -165,8 +165,8 @@
/***********************************************************************
+ * CommDlgExtendedError (COMDLG32.@)
* CommDlgExtendedError (COMMDLG.26)
- * CommDlgExtendedError (COMDLG32.@)
*
* Get the thread's local error value if a comdlg32 function fails.
* RETURNS
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Bg.rc
--- trunk/reactos/lib/comdlg32/cdlg_Bg.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Bg.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -406,6 +406,9 @@
PD32_OUT_OF_MEMORY "?Õõ¯±?ÞÒ ÝÓ ´ÓýÕ?."
PD32_GENERIC_ERROR "¤¯ ÔÞ ±Õ ÒÕ°ÛÓ."
PD32_DRIVER_UNKNOWN "?Õ´¯þÝÓ? õÓÚÔÕ þÓ ´ÞÝ?Õ
Ó."
+ 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."
PD32_DEFAULT_PRINTER "¤ÞÝ?Õ ´¯ ´¯õÓþßÞÓÝÕ; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "?ýÓ %d õ¯Û¾ýÕÝ?Ó Ô ¯´Ó°ÛÓ?Ó"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Cn.rc
--- trunk/reactos/lib/comdlg32/cdlg_Cn.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Cn.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -405,6 +405,9 @@
PD32_OUT_OF_MEMORY "Out of memory."
PD32_GENERIC_ERROR "Some error occurred."
PD32_DRIVER_UNKNOWN "Unknown printer driver."
+ 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."
PD32_DEFAULT_PRINTER "Default Printer; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "There are %d documents in
the queue"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Cs.rc
--- trunk/reactos/lib/comdlg32/cdlg_Cs.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Cs.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -1,5 +1,6 @@
/*
* Copyright 1996 Roman Dolejsi
+ * Copyright 2005 David Kredba (kredba(a)math.cas.cz)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -27,16 +28,16 @@
CAPTION "Otev°enÝ souboru"
FONT 8, "MS Shell Dlg"
{
- LTEXT "&jmÚno souboru:", 1090, 6, 6, 76, 9
- EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT |
WS_BORDER | WS_TABSTOP
+ LTEXT "&JmÚno souboru:", 1090, 6, 6, 76, 9
+ EDITTEXT edt1, 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 "&Adresß°e:", -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 "&Typ zobrazen²ch soubor¨:", 1089, 6, 104, 90, 9
- COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL |
WS_BORDER | WS_VSCROLL | WS_TABSTOP
+ COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL |
WS_BORDER | WS_VSCROLL | WS_TABSTOP
LTEXT "&DiskovÚ jednotky:", 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
+ COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED
| CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL |
WS_TABSTOP
DEFPUSHBUTTON "Otev°Ýt", IDOK, 208, 6, 56, 14, BS_DEFPUSHBUTTON |
WS_GROUP | WS_TABSTOP
PUSHBUTTON "Storno", IDCANCEL, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Nßpovýda", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
@@ -46,20 +47,20 @@
SAVE_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Ulo× pod jmÚnem..."
+CAPTION "Ulo¥ pod jmÚnem..."
FONT 8, "MS Shell Dlg"
{
LTEXT "&JmÚno souboru:", 1090, 6, 6, 76, 9
- EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT |
WS_BORDER | WS_TABSTOP
+ EDITTEXT edt1, 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 "&Adresß°e:", -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 "&Typ zobrazen²ch soubor¨:", 1089, 6, 104, 90, 9
- COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL |
WS_BORDER | WS_VSCROLL | WS_TABSTOP
+ COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL |
WS_BORDER | WS_VSCROLL | WS_TABSTOP
LTEXT "&DiskovÚ jednotky:", 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 "Ulo× pod jmÚnem", IDOK, 208, 6, 56, 14,
BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
+ COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED
| CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL |
WS_TABSTOP
+ DEFPUSHBUTTON "Ulo¥ pod jmÚnem", IDOK, 208, 6, 56, 14,
BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Storno", IDCANCEL, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Nßpovýda", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
CHECKBOX "&Pouze pro ÞtenÝ", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX |
WS_GROUP | WS_TABSTOP
@@ -73,45 +74,45 @@
{
LTEXT "Tiskßrna:", 1088, 6, 6, 40, 9
LTEXT "", 1089, 60, 6, 150, 9
- GROUPBOX "Rozsah tisku", 1072, 6, 30, 160, 65, BS_GROUPBOX
- RADIOBUTTON "Vytiskni vÜ&e", 1056, 16, 45, 60, 12
- RADIOBUTTON "Vytiskni &v²býr", 1057, 16, 60, 60, 12
- RADIOBUTTON "Vytiskni &zadanÚ strßnky", 1058, 16, 75, 60, 12
- DEFPUSHBUTTON "Tiskni", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON |
WS_GROUP | WS_TABSTOP
- PUSHBUTTON "Storno", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON "&Nastavit...", 1024, 206, 46, 56, 14, WS_GROUP |
WS_TABSTOP
+ GROUPBOX "Rozsah tisku", grp1, 6, 30, 160, 65, BS_GROUPBOX
+ RADIOBUTTON "V?&e", rad1, 16, 45, 60, 12
+ RADIOBUTTON "&V²býr", rad2, 16, 60, 60, 12
+ RADIOBUTTON "&ZadanÚ strßnky", 1058, 16, 75, 60, 12
+ DEFPUSHBUTTON "Tiskni", 1, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP
| WS_TABSTOP
+ PUSHBUTTON "Storno", 2, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON "&Nastavit...", psh1, 206, 46, 56, 14, WS_GROUP |
WS_TABSTOP
LTEXT "&Od:", 1090, 60, 80, 30, 9
LTEXT "&Do:", 1091, 120, 80, 30, 9
LTEXT "Kvalita &tisku:", 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 "Tisk do so&uboru", 1040, 20, 100, 50, 12, BS_AUTOCHECKBOX |
WS_GROUP | WS_TABSTOP
- CHECKBOX "KondenzovanÚ", 1041, 160, 100, 50, 12, BS_AUTOCHECKBOX |
WS_GROUP | WS_TABSTOP
+ COMBOBOX cmb1, 80, 100, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED
| CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL |
WS_TABSTOP
+ CHECKBOX "Tisk do so&uboru", chx1, 20, 100, 50, 12, BS_AUTOCHECKBOX |
WS_GROUP | WS_TABSTOP
+ CHECKBOX "KondenzovanÚ", chx2, 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 "NastavenÝ zp¨sobu tisku"
+CAPTION "NastavenÝ tisku"
FONT 8, "MS Shell Dlg"
{
- GROUPBOX "Tiskßrna", 1072, 6, 10, 180, 65, BS_GROUPBOX
- RADIOBUTTON "&P°edvolenß tiskßrna", 1056, 16, 20, 80, 12
+ GROUPBOX "Tiskßrna", grp1, 6, 10, 180, 65, BS_GROUPBOX
+ RADIOBUTTON "&V²chozÝ tiskßrna", rad1, 16, 20, 80, 12
LTEXT "[none]", 1088, 35, 35, 120, 9
- RADIOBUTTON "Specifickß &tiskßrna", 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", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP
| WS_TABSTOP
+ RADIOBUTTON "Specifickß &tiskßrna", 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
+ DEFPUSHBUTTON "OK", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP
| WS_TABSTOP
PUSHBUTTON "Storno", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON "&DalÜÝ volby...", 1024, 206, 46, 56, 14, WS_GROUP |
WS_TABSTOP
- GROUPBOX "Orientace", 1073, 6, 85, 100, 50, BS_GROUPBOX
- RADIOBUTTON "Na &v²Üku", 1058, 50, 100, 40, 12
- RADIOBUTTON "Na ÜÝ°&ku", 1059, 50, 115, 40, 12
- ICON "LANDSCAP", 1097, 10, 95, 32, 32
- ICON "PORTRAIT", 1098, 10, 95, 32, 32
- GROUPBOX "PapÝr", 1074, 120, 85, 180, 50, BS_GROUPBOX
+ PUSHBUTTON "&DalÜÝ volby...", psh1, 206, 46, 56, 14, WS_GROUP |
WS_TABSTOP
+ GROUPBOX "Orientace", grp2, 6, 85, 100, 50, BS_GROUPBOX
+ RADIOBUTTON "Na &v²?ku", rad3, 50, 100, 40, 12
+ RADIOBUTTON "Na ?Ý°&ku", rad4, 50, 115, 40, 12
+ ICON "LANDSCAP", stc10, 10, 95, 32, 32
+ ICON "PORTRAIT", stc11, 10, 95, 32, 32
+ GROUPBOX "PapÝr", grp3, 120, 85, 180, 50, BS_GROUPBOX
LTEXT "&Formßt", 1089, 130, 95, 30, 9
- LTEXT "&Odkud", 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
+ LTEXT "&Zdroj", 1090, 130, 110, 30, 9
+ 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
}
@@ -131,16 +132,16 @@
WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT
DEFPUSHBUTTON "OK",IDOK,218,6,40,14, WS_GROUP | WS_TABSTOP |
BS_DEFPUSHBUTTON
PUSHBUTTON "Storno",IDCANCEL,218,23,40,14,WS_GROUP | WS_TABSTOP
- PUSHBUTTON "&Pou×Ýt", psh3,218,40,40,14,WS_GROUP | WS_TABSTOP
+ PUSHBUTTON "&Pou¥Ýt", psh3,218,40,40,14,WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Nßpovýda" , pshHelp,218,57,40,14,WS_GROUP |
WS_TABSTOP
GROUPBOX "Efekty",grp1,6,72,84,34,WS_GROUP
- CHECKBOX "P°eÜ&krtnutÝ", chx1, 10,82,50,10, BS_AUTOCHECKBOX |
WS_TABSTOP
- CHECKBOX "&Podtr×enÝ", chx2, 10,94,50,10, BS_AUTOCHECKBOX
+ CHECKBOX "P°e?&krtnutÝ", chx1, 10,82,50,10, BS_AUTOCHECKBOX |
WS_TABSTOP
+ CHECKBOX "&Podtr¥enÝ", chx2, 10,94,50,10, BS_AUTOCHECKBOX
LTEXT "&Barva:", stc4 ,6,110,30,9
COMBOBOX cmb4,6,120,84,100,CBS_DROPDOWNLIST |
CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
GROUPBOX "Ukßzka",grp2,98,72,120,36,WS_GROUP
- CTEXT "P°ÝliÜ ×luØouÞk² k¨? ·pýl ´ßbelskÚ
k¾dy",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
+ CTEXT "P°Ýli? ¥lu?ouÞk² k¨? ·pýl ´ßbelskÚ
¾dy",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
LTEXT "Skr&ipt:",stc7 ,98,114,40,9
COMBOBOX cmb5,98,124,120,10,CBS_DROPDOWNLIST
|CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
@@ -152,19 +153,32 @@
CAPTION "Barvy"
FONT 8, "MS Shell Dlg"
{
- LTEXT "&ZßkladnÝ barvy:", 1088, 6, 6, 40, 9
- LTEXT "&Barvy na zakßzku:", 1089, 6, 126, 40, 9
- LTEXT "Barva|Spoj&itß", 1090, 100, 146, 40, 9
- LTEXT "&OdstÝn:", 1091, 150, 126, 40, 9
- LTEXT "&Sytost:", 1092, 150, 146, 40, 9
- LTEXT "&Jas:", 1093, 150, 166, 40, 9
- LTEXT "?e&rvenß:", 1094, 150, 126, 40, 9
- LTEXT "&Zelenß:", 1095, 150, 146, 40, 9
+ LTEXT "&ZßkladnÝ barvy:", 1088, 4, 4, 140, 10
+ LTEXT "&Barvy na zakßzku:",1089, 4, 106, 140, 10
+ LTEXT "Barva|Spoj&itß", 1090, 150, 151, 48, 10
+ LTEXT "?e&rvenß:", 726 /*1094*/, 249,126,24,10
+ EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
+ LTEXT "&Zelenß:",727/*1095*/,249,140,24,10
+ EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Modrß:", 1096, 150, 166, 40, 9
- DEFPUSHBUTTON "Ok", IDOK, 6, 182, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP
| WS_TABSTOP
- PUSHBUTTON "&P°idat barvu", 1024, 120, 182, 100, 14, WS_GROUP |
WS_TABSTOP
- PUSHBUTTON "&Vy°adit barvu", 1025, 6, 164, 56, 14, WS_GROUP |
WS_TABSTOP
- PUSHBUTTON "Storno", IDCANCEL, 76, 182, 56, 14, WS_GROUP | WS_TABSTOP
+ EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
+ LTEXT "&OdstÝn:" , 723 /*1091*/,202,126,22,10
+ EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
+ LTEXT "&Sytost:" , 1092, 150, 146, 40, 9
+ EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
+ LTEXT "&Jas:" , 725 /*1093*/,202,154,22,10
+ EDITTEXT 705, 226,152,21,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 "Storno", 2, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON "Nßpovýda", pshHelp,100,166, 44, 14
+ PUSHBUTTON "&P°idat k vlastnÝm barvßm", 712/*1024*/, 152, 166, 142,
14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON "&Definovat vlastnÝ barvu >>", 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" */
}
@@ -174,32 +188,284 @@
FONT 8, "MS Shell Dlg"
{
LTEXT "&Vyhledat:", -1, 4, 8, 42, 8
- EDITTEXT 1152, 47, 7, 128, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP |
WS_TABSTOP
- CHECKBOX "Pouze &celß slova", 1040, 4, 26, 100, 12, BS_AUTOCHECKBOX |
WS_GROUP | WS_TABSTOP
- CHECKBOX "&RozliÜovat malß a velkß pÝsmena", 1041, 4, 42, 64, 12,
BS_AUTOCHECKBOX | WS_TABSTOP
- GROUPBOX "Smýr", 1072, 107, 26, 68, 28
- CONTROL "N&ahoru", 1056, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD
|
WS_VISIBLE | WS_GROUP | WS_TABSTOP, 111, 38, 20, 12
- CONTROL "&Dolu", 1057, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD
|
WS_VISIBLE | WS_TABSTOP, 138, 38, 30, 12
- DEFPUSHBUTTON "Vyhledat d&alÜÝ", IDOK, 182, 5, 50, 14, WS_GROUP |
WS_TABSTOP
- PUSHBUTTON "Zav°Ýt", IDCANCEL, 182, 23, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON "&Nßpovýda", 1038, 182, 45, 50, 14, WS_GROUP | WS_TABSTOP
+ EDITTEXT edt1, 47, 7, 128, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP |
WS_TABSTOP
+ CHECKBOX "Pouze &celß slova", chx1, 4, 26, 100, 12, BS_AUTOCHECKBOX |
WS_GROUP | WS_TABSTOP
+ CHECKBOX "&Rozli?ovat velikost", chx2, 4, 42, 64, 12, BS_AUTOCHECKBOX
| WS_TABSTOP
+ GROUPBOX "Smýr", grp1, 107, 26, 68, 28
+ CONTROL "N&ahoru", rad1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD
|
WS_VISIBLE | WS_GROUP | WS_TABSTOP, 111, 38, 20, 12
+ CONTROL "&Dol¨", rad2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD
|
WS_VISIBLE | WS_TABSTOP, 138, 38, 30, 12
+
+ DEFPUSHBUTTON "NajÝt d&al?Ý", IDOK, 182, 5, 50, 14, WS_GROUP |
WS_TABSTOP
+ PUSHBUTTON "Zru?it", IDCANCEL, 182, 23, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON "&Nßpovýda", pshHelp, 182, 45, 50, 14, WS_GROUP |
WS_TABSTOP
}
REPLACEDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 230, 94
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Zßmýna"
+CAPTION "NahrazenÝ"
FONT 8, "MS Shell Dlg"
{
LTEXT "&Vyhledat:", -1, 4, 9, 48, 8
- EDITTEXT 1152, 54, 7, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP |
WS_TABSTOP
+ EDITTEXT edt1, 54, 7, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP |
WS_TABSTOP
LTEXT "&Zamýnit za:", -1, 4, 26, 48, 8
- EDITTEXT 1153, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP
| WS_TABSTOP
- CHECKBOX "Pouze &celß slova", 1040, 5, 46, 104, 12, BS_AUTOCHECKBOX |
WS_GROUP | WS_TABSTOP
- CHECKBOX "&RozliÜovat malß a velkß pÝsmena", 1041, 5, 62, 59, 12,
BS_AUTOCHECKBOX | WS_TABSTOP
- DEFPUSHBUTTON "Vyhledat d&alÜÝ", 1, 174, 4, 50, 14, BS_DEFPUSHBUTTON |
WS_GROUP | WS_TABSTOP
- PUSHBUTTON "Za&mýnit", 1024, 174, 21, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON "Zamýnit ve v²&býru", 1025, 174, 38, 50, 14, WS_GROUP |
WS_TABSTOP
- PUSHBUTTON "Zav°Ýt", 2, 174, 55, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON "&Nßpovýda", 1038, 174, 75, 50, 14, WS_GROUP | WS_TABSTOP
+ EDITTEXT edt2, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP
| WS_TABSTOP
+ CHECKBOX "Pouze &celß slova", chx1, 5, 46, 104, 12, BS_AUTOCHECKBOX |
WS_GROUP | WS_TABSTOP
+ CHECKBOX "&Rozli?ovat velikost", chx2, 5, 62, 59, 12, BS_AUTOCHECKBOX
| WS_TABSTOP
+ DEFPUSHBUTTON "Vyhledat d&al?Ý", IDOK, 174, 4, 50, 14,
BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
+ PUSHBUTTON "Za&mýnit", psh1, 174, 21, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON "Zamýni&t v?e", psh2, 174, 38, 50, 14, WS_GROUP |
WS_TABSTOP
+ PUSHBUTTON "Zru?it", IDCANCEL, 174, 55, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON "&Nßpovýda", 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 "Tisk"
+FONT 8, "MS Shell Dlg"
+{
+ DEFPUSHBUTTON "OK", IDOK, 180,164, 48,14, WS_GROUP |
BS_DEFPUSHBUTTON
+ PUSHBUTTON "Zru?it", IDCANCEL, 232,164, 48,14, WS_GROUP
+ PUSHBUTTON "&Nßpovýda", pshHelp, 50, 161, 48,14, WS_GROUP
+
+ GROUPBOX "Tiskßrna", grp4, 8, 4, 272,84, WS_GROUP
+ CONTROL "Tisk do so&uboru", chx1,
"Button",BS_AUTOCHECKBOX
| WS_GROUP | WS_TABSTOP,212,70,64,12
+ PUSHBUTTON "&Vlastnosti", psh2, 212, 17, 60,14, WS_GROUP
+ LTEXT "&Nßzev:", stc6, 16, 20, 36,8
+ COMBOBOX cmb4, 52, 18,
152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
+ LTEXT "Status:", stc8, 16, 36, 36,10,
SS_NOPREFIX
+ LTEXT "?ekß", stc12, 52, 36, 224,10, SS_NOPREFIX |
SS_LEFTNOWORDWRAP
+ LTEXT "Typ:", stc7, 16, 48, 36,10, SS_NOPREFIX
+ LTEXT "Neuveden", stc11, 52, 48, 224,10, SS_NOPREFIX
| SS_LEFTNOWORDWRAP
+ LTEXT "UmÝstýnÝ:", stc10, 16, 60, 36,10,
SS_NOPREFIX
+ LTEXT "Neuvedeno", stc14, 52, 60, 224,10, SS_NOPREFIX |
SS_LEFTNOWORDWRAP
+ LTEXT "Komentß°:", stc9, 16, 72, 36,10,
SS_NOPREFIX
+ LTEXT "Dummy Remark", stc13, 52, 72, 152,10,
SS_NOPREFIX | SS_LEFTNOWORDWRAP
+
+ GROUPBOX "Kopie", grp2, 160, 92, 120,64, WS_GROUP
+ LTEXT "PoÞet &kopiÝ:",stc5,168,108,68,8
+ ICON "", ico3, 162,124, 76,24, WS_GROUP |
SS_CENTERIMAGE
+ CONTROL "K&ompletovat",
chx2,"Button",BS_AUTOCHECKBOX
| WS_GROUP | WS_TABSTOP,240,130,36,12
+ EDITTEXT edt3, 240,106, 32,12, WS_GROUP |
ES_NUMBER
+
+ GROUPBOX "Rozsah tisku", grp1, 8,92, 144,64, WS_GROUP
+ CONTROL "&V?e",
rad1,"Button",BS_AUTORADIOBUTTON
| WS_GROUP | WS_TABSTOP,16,106,64,12
+ CONTROL "St&rßnky",
rad3,"Button",BS_AUTORADIOBUTTON,16,122,36,12
+ CONTROL "V²&býr",
rad2,"Button",BS_AUTORADIOBUTTON,16,138,64,12
+ EDITTEXT edt1, 74,122, 26,12, WS_GROUP |
ES_NUMBER
+ EDITTEXT edt2, 118,122, 26,12, WS_GROUP |
ES_NUMBER
+ RTEXT "&od:", stc2, 52,124, 20,8
+ RTEXT "&do:", stc3, 100,124, 16,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 "NastavenÝ tisku"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ DEFPUSHBUTTON "OK",IDOK,180,156,48,14,WS_GROUP
+ PUSHBUTTON "Zru?it",IDCANCEL,232,156,48,14
+/* PUSHBUTTON "SÝ?...", psh5, 284,156,48,14 */
+
+ GROUPBOX "Tiskßrna", grp4, 8, 4, 272,84, WS_GROUP
+ PUSHBUTTON "&Vlastnosti", psh2, 212, 17, 60,14, WS_GROUP
+ LTEXT "&Nßzev:", stc6, 16, 20, 36,8
+ COMBOBOX cmb1, 52, 18,
152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
+ LTEXT "Status:", stc8, 16, 36, 36,10,
SS_NOPREFIX
+ LTEXT "Neznßm²", stc12, 52, 36, 224,10, SS_NOPREFIX |
SS_LEFTNOWORDWRAP
+ LTEXT "Typ:", stc7, 16, 48, 36,10, SS_NOPREFIX
+ LTEXT "Neznßm²", stc11, 52, 48, 224,10, SS_NOPREFIX |
SS_LEFTNOWORDWRAP
+ LTEXT "UmÝstýnÝ:", stc10, 16, 60, 36,10,
SS_NOPREFIX
+ LTEXT "NeznßmÚ", stc14, 52, 60, 224,10, SS_NOPREFIX |
SS_LEFTNOWORDWRAP
+ LTEXT "Popis:", stc9, 16, 72, 36,10, SS_NOPREFIX
+ LTEXT "Dummy Remark", stc13, 52, 72, 224,10,
SS_NOPREFIX | SS_LEFTNOWORDWRAP
+
+ GROUPBOX "PapÝr", grp2, 8, 92, 164,56, WS_GROUP
+ LTEXT "Veli&kost:", stc2, 16,108, 36, 8
+ COMBOBOX cmb2, 52,106,
112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
+ LTEXT "Z&droj:", stc3, 16,128, 36, 8
+ COMBOBOX cmb3, 52,126,
112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
+
+ GROUPBOX "Orientace", grp1, 180, 92, 100,56, WS_GROUP
+ ICON "", ico1, 195,112, 18,20, WS_GROUP
+ CONTROL "Na v²?k&u",
rad1,"Button",BS_AUTORADIOBUTTON
| WS_GROUP |WS_TABSTOP,224,106,52,12
+ CONTROL "N&a ?Ý°ku",
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 "NastavenÝ strßnky"
+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 "PapÝr", grp2, 8, 96, 224, 56, BS_GROUPBOX
+ LTEXT "Veli&kost:", stc2, 16, 112, 36, 8
+ COMBOBOX cmb2, 64, 110, 160, 160,
CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
+ LTEXT "&Tray:", stc3, 16, 132, 36, 8
+ COMBOBOX cmb3, 64, 130, 160, 160,
CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
+ GROUPBOX "Orientace", grp1, 8, 156, 64, 56, BS_GROUPBOX
+ AUTORADIOBUTTON "Na v²?k&u", rad1, 16, 170, 52, 12,
BS_AUTORADIOBUTTON
+ AUTORADIOBUTTON "N&a ?Ý°ku", rad2, 16, 190, 52, 12,
BS_AUTORADIOBUTTON
+ GROUPBOX "Okraje", grp4, 80, 156, 152, 56, BS_GROUPBOX
+ LTEXT "L&ev²:", stc15, 88, 172, 21, 8
+ EDITTEXT edt4, 111, 170, 39, 12,
WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
+ LTEXT "P&rav²:", stc16, 159, 172, 27, 8
+ EDITTEXT edt6, 187, 170, 39, 12,
WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
+ LTEXT "H&ornÝ:", stc17, 88, 192, 21, 8
+ EDITTEXT edt5, 111, 190, 39, 12,
WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
+ LTEXT "&DolnÝ:", stc18, 159, 192, 23, 8
+ EDITTEXT edt7, 187, 190, 39, 12,
WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
+ DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
+ PUSHBUTTON "Zru?it", IDCANCEL, 126, 220, 50, 14
+ PUSHBUTTON "Tiskß&rna...", 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 "Otev°Ýt"
+FONT 8, "MS Shell Dlg"
+{
+ LTEXT "Nßh&led:",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 "&Nßzev souboru:",IDC_FILENAMESTATIC,5,112,46,8,
SS_NOTIFY
+ EDITTEXT IDC_FILENAME,54,110,155,12,ES_AUTOHSCROLL
+
+ LTEXT "Soubory &typu:",IDC_FILETYPESTATIC,5,128,42,8,
SS_NOTIFY
+ COMBOBOX IDC_FILETYPE,54,126,155,53,CBS_DROPDOWNLIST | WS_VSCROLL
| WS_TABSTOP
+
+ CONTROL "Jen ke
Þt&enÝ",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,54,145,100,10
+
+ DEFPUSHBUTTON "&Otev°Ýt", IDOK,222,110,50,14
+ PUSHBUTTON "Zru?it", IDCANCEL,222,128,50,14
+ PUSHBUTTON "&Nßpovýda", pshHelp,222,145,50,14
+}
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_ABOUTBOX "&O FolderPicker testu"
+ IDS_DOCUMENTFOLDERS "Slo¥ky dokument¨"
+ IDS_PERSONAL "Dokumenty"
+ IDS_FAVORITES "OblÝbenÚ"
+ IDS_PATH "SystÚmov² adresß°"
+ IDS_DESKTOP "Plocha"
+ IDS_FONTS "PÝsma"
+ IDS_MYCOMPUTER "M¨j poÞÝtaÞ"
+}
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_SYSTEMFOLDERS "SystÚmovÚ slo¥ky"
+ IDS_LOCALHARDRIVES "MÝstnÝ jednotky pevn²ch disk¨"
+ IDS_FILENOTFOUND "Soubor nebyl nalezen"
+ IDS_VERIFYFILE "Ový°te prosÝm, ¥e nßzev souboru byl zadßn
sprßvný."
+ IDS_CREATEFILE "Soubor neexistuje.\nChcete ho vytvo°it ?"
+ IDS_OVERWRITEFILE "Soubor ji¥ existuje.\nChcete ho p°epsat
nov²m ?"
+ IDS_INVALID_FILENAME_TITLE "Nedovolen²(Ú) znak(y) v cestý k
souboru."
+ IDS_INVALID_FILENAME "Nßzev souboru nesmÝ obsahovat ¥ßdn² z
nßsledujÝcÝch znak¨: \n / : < > |"
+ IDS_PATHNOTEXISTING "Adresß° neexistuje"
+ IDS_FILENOTEXISTING "Soubor neexistuje"
+}
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_UPFOLDER "O jednu ·rove? v²?e"
+ IDS_NEWFOLDER "Vytvo°it novou slo¥ku"
+ IDS_LISTVIEW "V²pis"
+ IDS_REPORTVIEW "Podrobnosti"
+ IDS_TODESKTOP "Prohlݥet plochu"
+}
+
+STRINGTABLE DISCARDABLE
+{
+ PD32_PRINT_TITLE "Tisk"
+
+ PD32_VALUE_UREADABLE "NeÞiteln² vstup"
+ PD32_INVALID_PAGE_RANGE "Tato hodnota p°esahuje mo¥nosti
strßnky.\n\
+Zadejte prosÝm hodnotu mezi %d a %d."
+ PD32_FROM_NOT_ABOVE_TO "Hodnota 'Od' nem¨¥e
p°ekroÞit \
+hodnotu 'Do'."
+ PD32_MARGINS_OVERLAP "Dosa¥enÝ nebo p°esah okraj¨
\
+tisknutelnÚ oblasti.\nZadejte prosÝm jinÚ okraje."
+ PD32_NR_OF_COPIES_EMPTY "PoÞet kopiÝ musÝ b²t' \
+zadßn."
+ PD32_TOO_LARGE_COPIES "Tak velkÚ mno¥stvÝ kopiÝ
nenÝ \
+podporovßno Va?Ý tiskßrnou.\nZadejte prosÝm hodnotu mezi 1 and %d."
+ PD32_PRINT_ERROR "Nastala chyba tisku."
+ PD32_NO_DEFAULT_PRINTER "V²chozÝ tiskßrna
neexistuje."
+ PD32_CANT_FIND_PRINTER "Nemohu najÝt tiskßrnu."
+ PD32_OUT_OF_MEMORY "Dostupnß pamý? byla
vyÞerpßna."
+ PD32_GENERIC_ERROR "Vyskytla se chyba."
+ PD32_DRIVER_UNKNOWN "Neznßm² ovladaÞ tiskßrny."
+
+ PD32_DEFAULT_PRINTER "V²chozÝ tiskßrna; "
+ PD32_NR_OF_DOCUMENTS_IN_QUEUE "Ve frontý je %d dokument¨"
+ PD32_MARGINS_IN_INCHES "Okraje [palce]"
+ PD32_MARGINS_IN_MILIMETERS "Okraje [mm]"
+ PD32_MILIMETERS "mm"
+
+ PD32_PRINTER_STATUS_READY "P°ipraven"
+ PD32_PRINTER_STATUS_PAUSED "Pozastaven; "
+ PD32_PRINTER_STATUS_ERROR "Chyba; "
+ PD32_PRINTER_STATUS_PENDING_DELETION "ProbÝhß mazßnÝ; "
+ PD32_PRINTER_STATUS_PAPER_JAM "Zaseknut² papÝr; "
+ PD32_PRINTER_STATUS_PAPER_OUT "Do?el papÝr; "
+ PD32_PRINTER_STATUS_MANUAL_FEED "RuÞnÝ zaklßdßnÝ papÝru; "
+ PD32_PRINTER_STATUS_PAPER_PROBLEM "ProblÚm s papÝrem; "
+ PD32_PRINTER_STATUS_OFFLINE "Tiskßrna je nedostupnß; "
+ PD32_PRINTER_STATUS_IO_ACTIVE "P°enos dat; "
+ PD32_PRINTER_STATUS_BUSY "Pracuji; "
+ PD32_PRINTER_STATUS_PRINTING "Tiskne se; "
+ PD32_PRINTER_STATUS_OUTPUT_BIN_FULL "V²stupnÝ zßsobnÝk je pln²; "
+ PD32_PRINTER_STATUS_NOT_AVAILABLE "NenÝ k dispozici; "
+ PD32_PRINTER_STATUS_WAITING "?ekß se; "
+ PD32_PRINTER_STATUS_PROCESSING "Zpracovßvß se; "
+ PD32_PRINTER_STATUS_INITIALIZING "Inicializuje se; "
+ PD32_PRINTER_STATUS_WARMING_UP "Zah°Ývß se; "
+ PD32_PRINTER_STATUS_TONER_LOW "DochßzÝ toner; "
+ PD32_PRINTER_STATUS_NO_TONER "Do?el toner; "
+ PD32_PRINTER_STATUS_PAGE_PUNT "Za°azovßnÝ; "
+ PD32_PRINTER_STATUS_USER_INTERVENTION "P°eru?eno u¥ivatelem; "
+ PD32_PRINTER_STATUS_OUT_OF_MEMORY "Dostupnß pamý? byla
vyÞerpßna; "
+ PD32_PRINTER_STATUS_DOOR_OPEN "Kryt tiskßrny je otev°en; "
+ PD32_PRINTER_STATUS_SERVER_UNKNOWN "Neznßm² tiskov² server; "
+ PD32_PRINTER_STATUS_POWER_SAVE "?sporn² re¥im; "
+}
+
+STRINGTABLE DISCARDABLE /* Color names */
+{
+ IDS_COLOR_BLACK "Þernß"
+ IDS_COLOR_MAROON "hnýdß"
+ IDS_COLOR_GREEN "zelenß"
+ IDS_COLOR_OLIVE "olivovß"
+ IDS_COLOR_NAVY "nßmo°nÝ"
+ IDS_COLOR_PURPLE "nachovß"
+ IDS_COLOR_TEAL "sivß"
+ IDS_COLOR_GRAY "?edß"
+ IDS_COLOR_SILVER "st°Ýbrnß"
+ IDS_COLOR_RED "Þervenß"
+ IDS_COLOR_LIME "citronovß"
+ IDS_COLOR_YELLOW "¥lutß"
+ IDS_COLOR_BLUE "modrß"
+ IDS_COLOR_FUCHSIA "fuchsiovß"
+ IDS_COLOR_AQUA "vodovß"
+ IDS_COLOR_WHITE "bÝlß"
+}
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_FONT_SIZE "UrÞete velikost fontu mezi %d a %d body."
+ IDS_SAVE_BUTTON "&Ulo¥it"
+ IDS_SAVE_IN "Ulo¥&it v:"
+ IDS_SAVE "Ulo¥it"
+ IDS_SAVE_AS "Ulo¥it jako"
+ IDS_OPEN_FILE "Otev°Ýt soubor"
+}
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_De.rc
--- trunk/reactos/lib/comdlg32/cdlg_De.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_De.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -399,6 +399,9 @@
PD32_OUT_OF_MEMORY "Kein freier Speicher mehr."
PD32_GENERIC_ERROR "Ein unbekannter Fehler ist
aufgetreten."
PD32_DRIVER_UNKNOWN "Unbekannter Druckertreiber."
+ PD32_NO_DEVICES "Bevor Sie drucker-relevante
Aufgaben ausf³hren k÷nnen, \
+ wie die Seiteneinrichtung oder ein Dokument zu drucken,\
+ m³ssen Sie einen Drucker installieren. Bitte f³hren Sie dies zuerst
aus und versuchen Sie es erneut."
PD32_DEFAULT_PRINTER "Standard Drucker; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "Es sind %d Dokumente in der
Queue"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_En.rc
--- trunk/reactos/lib/comdlg32/cdlg_En.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_En.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -405,6 +405,9 @@
PD32_OUT_OF_MEMORY "Out of memory."
PD32_GENERIC_ERROR "An error occurred."
PD32_DRIVER_UNKNOWN "Unknown printer driver."
+ 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."
PD32_DEFAULT_PRINTER "Default Printer; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "There are %d documents in
the queue"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Es.rc
--- trunk/reactos/lib/comdlg32/cdlg_Es.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Es.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -406,6 +406,9 @@
PD32_GENERIC_ERROR "Ocurri¾ un error."
PD32_DRIVER_UNKNOWN "Manejador de la impresora \
desconocido."
+ 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."
PD32_DEFAULT_PRINTER "Impresora por defecto; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "Hay %d documentos en la
cola"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Fi.rc
--- trunk/reactos/lib/comdlg32/cdlg_Fi.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Fi.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -400,6 +400,9 @@
PD32_OUT_OF_MEMORY "Muisti loppu."
PD32_GENERIC_ERROR "Virhe."
PD32_DRIVER_UNKNOWN "Tuntematon tulostinajuri."
+ 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."
PD32_DEFAULT_PRINTER "Oletustulostin; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "Jonossa on %d dokumenttia"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Fr.rc
--- trunk/reactos/lib/comdlg32/cdlg_Fr.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Fr.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -409,6 +409,9 @@
PD32_OUT_OF_MEMORY "Pas assez de mÚmoire."
PD32_GENERIC_ERROR "Une erreur est intervenue."
PD32_DRIVER_UNKNOWN "Pilote d'imprimante
inconnu."
+ PD32_NO_DEVICES "Avant de pouvoir effectuer
des opÚrations en relation avec l'impression \
+comme la configuration de l'imprimante ou l'impression d'un document,
vous devez installer une imprimante. \
+Veuillez en installer une et rÚessayez."
PD32_DEFAULT_PRINTER "Imprimante par dÚfaut; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "Il y a %d documents dans la
file d'attente"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_It.rc
--- trunk/reactos/lib/comdlg32/cdlg_It.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_It.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -404,6 +404,9 @@
PD32_OUT_OF_MEMORY "Memoria esaurita."
PD32_GENERIC_ERROR "Si Þ verificato un errore."
PD32_DRIVER_UNKNOWN "Driver della stampante
sconosciuto."
+ 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."
PD32_DEFAULT_PRINTER "Stampante predefinita; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "Ci sono %d documenti nella
coda di stampa"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Nl.rc
--- trunk/reactos/lib/comdlg32/cdlg_Nl.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Nl.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -285,6 +285,9 @@
PD32_GENERIC_ERROR "Er onstond een niet nader \
gespecifieerde fout"
PD32_DRIVER_UNKNOWN "De printer driver is
onbekend"
+ 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."
PD32_DEFAULT_PRINTER "Default Printer, "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "Er staan %d documenten in de
\
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_No.rc
--- trunk/reactos/lib/comdlg32/cdlg_No.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_No.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -401,6 +401,9 @@
PD32_OUT_OF_MEMORY "Ikke mer minne."
PD32_GENERIC_ERROR "En feil har oppstÕtt."
PD32_DRIVER_UNKNOWN "Ukjent skriverdriver."
+ 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."
PD32_DEFAULT_PRINTER "Standardskriver; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "Det er %d dokumenter i k°en"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Pl.rc
--- trunk/reactos/lib/comdlg32/cdlg_Pl.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Pl.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -402,6 +402,9 @@
PD32_OUT_OF_MEMORY "Za ma?o pamiÛci dla tej operacji."
PD32_GENERIC_ERROR "Podczas tej operacji wyst?pi? b??d."
PD32_DRIVER_UNKNOWN "Nieznany sterownik drukarki."
+ 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."
PD32_DEFAULT_PRINTER "Domy£lna Drukarka; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "W kolejce znajduj? siÛ %d
dokumenty"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Pt.rc
--- trunk/reactos/lib/comdlg32/cdlg_Pt.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Pt.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -404,6 +404,9 @@
PD32_OUT_OF_MEMORY "Mem¾ria insuficiente."
PD32_GENERIC_ERROR "Ocorreu algum erro."
PD32_DRIVER_UNKNOWN "Driver de
impressora desconhecido."
+ 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."
PD32_DEFAULT_PRINTER "Impressora PadrÒo; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "Existem %d documentos
na fila"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Ru.rc
--- trunk/reactos/lib/comdlg32/cdlg_Ru.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Ru.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -404,6 +404,9 @@
PD32_OUT_OF_MEMORY "?ÓÙ¯ ´Óý ?Þ"
PD32_GENERIC_ERROR "¤¯Þþ¯°ÙÓ(Þ) ¯°ÞßÛÓ(Þ)"
PD32_DRIVER_UNKNOWN "?ÕÞþÔÕ±?Ý¹Ú õÓÚÔÕ ´ÞÝ?Õ
Ó"
+ 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."
PD32_DEFAULT_PRINTER "¤ÞÝ?Õ ´¯ ¾ý¯Ù¸ÓÝÞ?; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "%d õ¯Û¾ýÕÝ?¯Ô Ô ¯¸ÕÕõÞ"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Si.rc
--- trunk/reactos/lib/comdlg32/cdlg_Si.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Si.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -402,6 +402,9 @@
PD32_OUT_OF_MEMORY "Na voljo ni dovolj
pomnilnika, da bi bilo mogoÞe dokonÞati operacijo."
PD32_GENERIC_ERROR "Med operacijo je priÜlo do
napake."
PD32_DRIVER_UNKNOWN "Neznan gonilnik tiskalnika."
+ 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."
PD32_DEFAULT_PRINTER "Privzeti tiskalnik; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "%d ÞakajoÞih dok."
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Sk.rc
--- trunk/reactos/lib/comdlg32/cdlg_Sk.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Sk.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -375,6 +375,9 @@
PD32_OUT_OF_MEMORY "Nedostatok pamõte"
PD32_GENERIC_ERROR "Vyskytla sa chyba"
PD32_DRIVER_UNKNOWN "Neznßmy ovlßdaÞ tlaÞiarne"
+ 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."
PD32_DEFAULT_PRINTER "Implicitnß tlaÞiare?; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "There are %d documents in
queue"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Sv.rc
--- trunk/reactos/lib/comdlg32/cdlg_Sv.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Sv.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -395,6 +395,9 @@
PD32_OUT_OF_MEMORY "Slut pÕ minne."
PD32_GENERIC_ERROR "Ett fel uppstog."
PD32_DRIVER_UNKNOWN "Okõnd skrivardrivrutin."
+ 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."
PD32_DEFAULT_PRINTER "Standardskrivare; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "Det õr %d dokument i k÷n"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Th.rc
--- trunk/reactos/lib/comdlg32/cdlg_Th.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Th.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -399,6 +399,9 @@
PD32_OUT_OF_MEMORY "ñÃÊ?¿ÝÊý???"
PD32_GENERIC_ERROR "ÓíÈ?ñÃÊ??È?¥?Ê?"
PD32_DRIVER_UNKNOWN "õ?Þ??Ú¿Ðí?õ?ýÓÃ??ýýÓñ?ÎÞ?º¥È
?¥ý"
+ 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."
PD32_DEFAULT_PRINTER "Óñ?ÎÞ?º¥È?¥ý?íÁÈ; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "?i %d ß?Ú??????Þ"
_____
Modified: trunk/reactos/lib/comdlg32/cdlg_Uk.rc
--- trunk/reactos/lib/comdlg32/cdlg_Uk.rc 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/cdlg_Uk.rc 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -373,6 +373,9 @@
PD32_OUT_OF_MEMORY "?ÓÙ¯ ´Óý' ??"
PD32_GENERIC_ERROR "?ÞÝÞÛÙÓ(Þ) ´¯ýÞÙÛÓ(Þ)"
PD32_DRIVER_UNKNOWN "?ÕÔ?õ¯ýÞÚ õÓÚÔÕ ´ÞÝ?ÕÓ"
+ 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."
PD32_DEFAULT_PRINTER "¤ÞÝ?Õ þÓ ¯ß¾ý¯ÔÙÕÝÝ ý; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "%d õ¯Û¾ýÕÝ??Ô ¾ ¸Õþ?"
_____
Modified: trunk/reactos/lib/comdlg32/colordlg.c
--- trunk/reactos/lib/comdlg32/colordlg.c 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/colordlg.c 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -1249,6 +1249,16 @@
/***********************************************************************
* ChooseColorW (COMDLG32.@)
+ *
+ * Create a color dialog box.
+ *
+ * PARAMS
+ * lpChCol [I/O] in: information to initialize the dialog box.
+ * out: User's color selection
+ *
+ * RETURNS
+ * TRUE: Ok button clicked.
+ * FALSE: Cancel button clicked, or error.
*/
BOOL WINAPI ChooseColorW( LPCHOOSECOLORW lpChCol )
{
@@ -1309,6 +1319,8 @@
/***********************************************************************
* ChooseColorA (COMDLG32.@)
+ *
+ * See ChooseColorW.
*/
BOOL WINAPI ChooseColorA( LPCHOOSECOLORA lpChCol )
_____
Modified: trunk/reactos/lib/comdlg32/comdlg32.xml
--- trunk/reactos/lib/comdlg32/comdlg32.xml 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/comdlg32.xml 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -18,6 +18,7 @@
<library>shell32</library>
<library>shlwapi</library>
<library>winspool</library>
+ <library>ole32</library>
<file>cdlg32.c</file>
<file>colordlg.c</file>
<file>filedlg.c</file>
_____
Modified: trunk/reactos/lib/comdlg32/filedlg.c
--- trunk/reactos/lib/comdlg32/filedlg.c 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/filedlg.c 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -250,6 +250,7 @@
LPCVOID template;
HRSRC hRes;
HANDLE hDlgTmpl = 0;
+ HRESULT hr;
/* test for missing functionality */
if (fodInfos->ofnInfos->Flags & UNIMPLEMENTED_FLAGS)
@@ -281,11 +282,16 @@
fodInfos->HookMsg.sharevistring =
RegisterWindowMessageA(SHAREVISTRINGA);
}
+ /* Some shell namespace extensions depend on COM being initialized.
*/
+ hr = CoInitialize(NULL);
+
lRes = DialogBoxIndirectParamA(COMDLG32_hInstance,
(LPDLGTEMPLATEA) template,
fodInfos->ofnInfos->hwndOwner,
FileOpenDlgProc95,
(LPARAM) fodInfos);
+ if (SUCCEEDED(hr))
+ CoUninitialize();
/* Unable to create the dialog */
if( lRes == -1)
_____
Modified: trunk/reactos/lib/comdlg32/filetitle.c
--- trunk/reactos/lib/comdlg32/filetitle.c 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/filetitle.c 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -40,6 +40,7 @@
/***********************************************************************
* GetFileTitleA (COMDLG32.@)
*
+ * See GetFileTitleW.
*/
short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, WORD cbBuf)
{
@@ -60,12 +61,22 @@
/***********************************************************************
* GetFileTitleW (COMDLG32.@)
*
+ * Get the name of a file.
+ *
+ * PARAMS
+ * lpFile [I] name and location of file
+ * lpTitle [O] returned file name
+ * cbBuf [I] buffer size of lpTitle
+ *
+ * RETURNS
+ * Success: zero
+ * Failure: negative number.
*/
short WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, WORD cbBuf)
{
int i, len;
static const WCHAR brkpoint[] = {'*','[',']',0};
- TRACE("(%p %p %d); \n", lpFile, lpTitle, cbBuf);
+ TRACE("(%p %p %d);\n", lpFile, lpTitle, cbBuf);
if(lpFile == NULL || lpTitle == NULL)
return -1;
@@ -95,7 +106,7 @@
if(i == -1)
i++;
- TRACE("---> '%s' \n", debugstr_w(&lpFile[i]));
+ TRACE("---> '%s'\n", debugstr_w(&lpFile[i]));
len = strlenW(lpFile+i)+1;
if(cbBuf < len)
_____
Modified: trunk/reactos/lib/comdlg32/finddlg32.c
--- trunk/reactos/lib/comdlg32/finddlg32.c 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/finddlg32.c 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -440,9 +440,8 @@
/***********************************************************************
* FindTextA [COMDLG32.@]
- * RETURNS
- * Window handle to created dialog: Success
- * NULL: Failure
+ *
+ * See FindTextW.
*/
HWND WINAPI FindTextA(
LPFINDREPLACEA pfr /* [in] Find/replace structure*/
@@ -464,9 +463,8 @@
/***********************************************************************
* ReplaceTextA [COMDLG32.@]
- * RETURNS
- * Window handle to created dialog: Success
- * NULL: Failure
+ *
+ * See ReplaceTextW.
*/
HWND WINAPI ReplaceTextA(
LPFINDREPLACEA pfr /* [in] Find/replace structure*/
@@ -489,6 +487,9 @@
/***********************************************************************
* FindTextW [COMDLG32.@]
+ *
+ * Create a modeless find-text dialog box.
+ *
* RETURNS
* Window handle to created dialog: Success
* NULL: Failure
@@ -520,6 +521,9 @@
/***********************************************************************
* ReplaceTextW [COMDLG32.@]
+ *
+ * Create a modeless replace-text dialog box.
+ *
* RETURNS
* Window handle to created dialog: Success
* NULL: Failure
_____
Modified: trunk/reactos/lib/comdlg32/fontdlg.c
--- trunk/reactos/lib/comdlg32/fontdlg.c 2005-11-17 19:36:54 UTC
(rev 19296)
+++ trunk/reactos/lib/comdlg32/fontdlg.c 2005-11-17 19:44:07 UTC
(rev 19297)
@@ -160,6 +160,16 @@
[truncated at 1000 lines; 141 more skipped]