Author: akhaldi
Date: Sat Sep 27 10:16:40 2014
New Revision: 64325
URL:
http://svn.reactos.org/svn/reactos?rev=64325&view=rev
Log:
[COMDLG32]
* Sync with Wine 1.7.27.
* Translators, you're up ;)
CORE-8540
Modified:
trunk/reactos/dll/win32/comdlg32/filedlg.c
trunk/reactos/dll/win32/comdlg32/filedlgbrowser.h
trunk/reactos/dll/win32/comdlg32/itemdlg.c
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Bg.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ca.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Cs.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Da.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_De.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_El.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_En.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Eo.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Es.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Fi.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Fr.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_He.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Hu.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_It.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ja.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ko.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Lt.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Nl.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_No.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Pl.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Pt.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ro.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ru.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Si.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sk.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sq.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sr.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sv.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Th.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Tr.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Tw.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Uk.rc
trunk/reactos/dll/win32/comdlg32/lang/cdlg_Zh.rc
trunk/reactos/dll/win32/comdlg32/resource.h
trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/dll/win32/comdlg32/filedlg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/filedlg…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/filedlg.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/filedlg.c [iso-8859-1] Sat Sep 27 10:16:40 2014
@@ -1776,7 +1776,7 @@
}
else
{
- /* Resize the height, if open as read only checkbox ad help button are
+ /* Resize the height; if opened as read-only, checkbox and help button are
* hidden and we are not using a custom template nor a customDialog
*/
if ( (fodInfos->ofnInfos->Flags & OFN_HIDEREADONLY) &&
Modified: trunk/reactos/dll/win32/comdlg32/filedlgbrowser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/filedlg…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/filedlgbrowser.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/filedlgbrowser.h [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -94,6 +94,7 @@
#define IDS_INVALID_FILENAME 121
#define IDS_PATHNOTEXISTING 122
#define IDS_FILENOTEXISTING 123
+#define IDS_INVALID_FOLDERNAME 124
/* File Dialog Tooltips string IDs */
Modified: trunk/reactos/dll/win32/comdlg32/itemdlg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/itemdlg…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/itemdlg.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/itemdlg.c [iso-8859-1] Sat Sep 27 10:16:40 2014
@@ -67,7 +67,8 @@
IDLG_CCTRL_CHECKBUTTON,
IDLG_CCTRL_EDITBOX,
IDLG_CCTRL_SEPARATOR,
- IDLG_CCTRL_TEXT
+ IDLG_CCTRL_TEXT,
+ IDLG_CCTRL_VISUALGROUP
};
typedef struct {
@@ -76,6 +77,9 @@
enum ITEMDLG_CCTRL_TYPE type;
CDCONTROLSTATEF cdcstate;
struct list entry;
+
+ struct list sub_cctrls;
+ struct list sub_cctrls_entry;
} customctrl;
typedef struct {
@@ -124,9 +128,11 @@
LPWSTR custom_filenamelabel;
UINT cctrl_width, cctrl_def_height, cctrls_cols;
+ UINT cctrl_indent;
HWND cctrls_hwnd;
struct list cctrls;
UINT_PTR cctrl_next_dlgid;
+ customctrl *cctrl_active_vg;
GUID client_guid;
} FileDialogImpl;
@@ -195,6 +201,18 @@
{
TRACE("Notifying %p\n", cursor);
IFileDialogEvents_OnSelectionChange(cursor->pfde,
(IFileDialog*)&This->IFileDialog2_iface);
+ }
+}
+
+static void events_OnTypeChange(FileDialogImpl *This)
+{
+ events_client *cursor;
+ TRACE("%p\n", This);
+
+ LIST_FOR_EACH_ENTRY(cursor, &This->events_clients, events_client, entry)
+ {
+ TRACE("Notifying %p\n", cursor);
+ IFileDialogEvents_OnTypeChange(cursor->pfde,
(IFileDialog*)&This->IFileDialog2_iface);
}
}
@@ -348,8 +366,10 @@
UINT attr;
hr = IShellItem_GetAttributes(psi, SFGAO_FOLDER, &attr);
- if(SUCCEEDED(hr) && (attr & SFGAO_FOLDER))
- continue; /* FIXME: FOS_PICKFOLDERS */
+ if(SUCCEEDED(hr) &&
+ (( (This->options & FOS_PICKFOLDERS) && !(attr &
SFGAO_FOLDER)) ||
+ (!(This->options & FOS_PICKFOLDERS) && (attr &
SFGAO_FOLDER))))
+ continue;
hr = IShellItem_GetDisplayName(psi, SIGDN_PARENTRELATIVEPARSING,
&names[valid_count]);
if(SUCCEEDED(hr))
@@ -538,21 +558,42 @@
break;
case ONOPEN_OPEN:
- if(events_OnFileOk(This) != S_OK)
- break;
-
hr = SHGetDesktopFolder(&psf_desktop);
if(SUCCEEDED(hr))
{
if(This->psia_results)
+ {
IShellItemArray_Release(This->psia_results);
+ This->psia_results = NULL;
+ }
hr = SHCreateShellItemArray(NULL, psf_desktop, file_count,
(PCUITEMID_CHILD_ARRAY)pidla,
&This->psia_results);
- if(SUCCEEDED(hr))
+
+ IShellFolder_Release(psf_desktop);
+
+ if(FAILED(hr))
+ break;
+
+ if(This->options & FOS_PICKFOLDERS)
+ {
+ SFGAOF attributes;
+ hr = IShellItemArray_GetAttributes(This->psia_results,
SIATTRIBFLAGS_AND, SFGAO_FOLDER, &attributes);
+ if(hr != S_OK)
+ {
+ WCHAR buf[64];
+ LoadStringW(COMDLG32_hInstance, IDS_INVALID_FOLDERNAME, buf,
sizeof(buf)/sizeof(WCHAR));
+
+ MessageBoxW(This->dlg_hwnd, buf, This->custom_title, MB_OK |
MB_ICONEXCLAMATION);
+
+ IShellItemArray_Release(This->psia_results);
+ This->psia_results = NULL;
+ break;
+ }
+ }
+
+ if(events_OnFileOk(This) == S_OK)
ret = S_OK;
-
- IShellFolder_Release(psf_desktop);
}
break;
@@ -575,25 +616,38 @@
*/
static inline customctrl *get_cctrl_from_dlgid(FileDialogImpl *This, DWORD dlgid)
{
- customctrl *ctrl;
+ customctrl *ctrl, *sub_ctrl;
LIST_FOR_EACH_ENTRY(ctrl, &This->cctrls, customctrl, entry)
+ {
if(ctrl->dlgid == dlgid)
return ctrl;
+ LIST_FOR_EACH_ENTRY(sub_ctrl, &ctrl->sub_cctrls, customctrl,
sub_cctrls_entry)
+ if(sub_ctrl->dlgid == dlgid)
+ return sub_ctrl;
+ }
+
ERR("Failed to find control with dialog id %d\n", dlgid);
return NULL;
}
static inline customctrl *get_cctrl(FileDialogImpl *This, DWORD ctlid)
{
- customctrl *ctrl;
+ customctrl *ctrl, *sub_ctrl;
LIST_FOR_EACH_ENTRY(ctrl, &This->cctrls, customctrl, entry)
+ {
if(ctrl->id == ctlid)
return ctrl;
- ERR("Failed to find control with control id %d\n", ctlid);
+ LIST_FOR_EACH_ENTRY(sub_ctrl, &ctrl->sub_cctrls, customctrl,
sub_cctrls_entry)
+ if(sub_ctrl->id == ctlid)
+ return sub_ctrl;
+ }
+
+
+ TRACE("No existing control with control id %d\n", ctlid);
return NULL;
}
@@ -639,9 +693,39 @@
HeapFree(GetProcessHeap(), 0, text);
}
+static UINT ctrl_get_height(customctrl *ctrl) {
+ RECT rc;
+ GetWindowRect(ctrl->wrapper_hwnd, &rc);
+ return rc.bottom - rc.top;
+}
+
+static void ctrl_free(customctrl *ctrl)
+{
+ customctrl *sub_cur1, *sub_cur2;
+
+ TRACE("Freeing control %p\n", ctrl);
+ if(ctrl->type == IDLG_CCTRL_MENU)
+ {
+ TBBUTTON tbb;
+ SendMessageW(ctrl->hwnd, TB_GETBUTTON, 0, (LPARAM)&tbb);
+ DestroyMenu((HMENU)tbb.dwData);
+ }
+
+ LIST_FOR_EACH_ENTRY_SAFE(sub_cur1, sub_cur2, &ctrl->sub_cctrls, customctrl,
sub_cctrls_entry)
+ {
+ list_remove(&sub_cur1->sub_cctrls_entry);
+ ctrl_free(sub_cur1);
+ }
+
+ DestroyWindow(ctrl->hwnd);
+ HeapFree(GetProcessHeap(), 0, ctrl);
+}
+
static void customctrl_resize(FileDialogImpl *This, customctrl *ctrl)
{
RECT rc;
+ UINT total_height;
+ customctrl *sub_ctrl;
switch(ctrl->type)
{
@@ -652,7 +736,35 @@
ctrl_resize(ctrl->hwnd, 160, 160, TRUE);
GetWindowRect(ctrl->hwnd, &rc);
SetWindowPos(ctrl->wrapper_hwnd, NULL, 0, 0, rc.right-rc.left,
rc.bottom-rc.top,
- SWP_NOZORDER|SWP_NOMOVE|SWP_NOZORDER);
+ SWP_NOZORDER|SWP_NOMOVE);
+ break;
+ case IDLG_CCTRL_VISUALGROUP:
+ total_height = 0;
+ ctrl_resize(ctrl->hwnd, 0, This->cctrl_indent, TRUE);
+
+ LIST_FOR_EACH_ENTRY(sub_ctrl, &ctrl->sub_cctrls, customctrl,
sub_cctrls_entry)
+ {
+ customctrl_resize(This, sub_ctrl);
+ SetWindowPos(sub_ctrl->wrapper_hwnd, NULL, This->cctrl_indent,
total_height, 0, 0,
+ SWP_NOZORDER|SWP_NOSIZE);
+
+ total_height += ctrl_get_height(sub_ctrl);
+ }
+
+ /* The label should be right adjusted */
+ {
+ UINT width, height;
+
+ GetWindowRect(ctrl->hwnd, &rc);
+ width = rc.right - rc.left;
+ height = rc.bottom - rc.top;
+
+ SetWindowPos(ctrl->hwnd, NULL, This->cctrl_indent - width, 0, width,
height, SWP_NOZORDER);
+ }
+
+ /* Resize the wrapper window to fit all the sub controls */
+ SetWindowPos(ctrl->wrapper_hwnd, NULL, 0, 0, This->cctrl_width +
This->cctrl_indent, total_height,
+ SWP_NOZORDER|SWP_NOMOVE);
break;
case IDLG_CCTRL_RADIOBUTTONLIST:
case IDLG_CCTRL_EDITBOX:
@@ -757,6 +869,7 @@
static LRESULT CALLBACK notifysink_proc(HWND hwnd, UINT message, WPARAM wparam, LPARAM
lparam)
{
FileDialogImpl *This = (FileDialogImpl*)GetWindowLongPtrW(hwnd, GWLP_USERDATA);
+ customctrl *ctrl;
HWND hwnd_child;
RECT rc;
@@ -767,8 +880,12 @@
case WM_NOTIFY: return notifysink_on_wm_notify(This, hwnd, wparam,
lparam);
case WM_SIZE:
hwnd_child = GetPropW(hwnd, notifysink_childW);
- GetClientRect(hwnd, &rc);
- SetWindowPos(hwnd_child, NULL, 0, 0, rc.right, rc.bottom,
SWP_NOMOVE|SWP_NOACTIVATE|SWP_NOZORDER);
+ ctrl = (customctrl*)GetWindowLongPtrW(hwnd_child, GWLP_USERDATA);
+ if(ctrl && ctrl->type != IDLG_CCTRL_VISUALGROUP)
+ {
+ GetClientRect(hwnd, &rc);
+ SetWindowPos(hwnd_child, NULL, 0, 0, rc.right, rc.bottom,
SWP_NOMOVE|SWP_NOACTIVATE|SWP_NOZORDER);
+ }
return TRUE;
}
@@ -779,15 +896,20 @@
LPCWSTR text, LPCWSTR wndclass, DWORD ctrl_wsflags,
DWORD ctrl_exflags, UINT height, customctrl **ppctrl)
{
- HWND ns_hwnd, control_hwnd;
+ HWND ns_hwnd, control_hwnd, parent_hwnd;
DWORD wsflags = WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS;
customctrl *ctrl;
if(get_cctrl(This, id))
return E_UNEXPECTED; /* Duplicate id */
+ if(This->cctrl_active_vg)
+ parent_hwnd = This->cctrl_active_vg->wrapper_hwnd;
+ else
+ parent_hwnd = This->cctrls_hwnd;
+
ns_hwnd = CreateWindowExW(0, floatnotifysinkW, NULL, wsflags,
- 0, 0, This->cctrl_width, height, This->cctrls_hwnd,
+ 0, 0, This->cctrl_width, height, parent_hwnd,
(HMENU)This->cctrl_next_dlgid, COMDLG32_hInstance,
This);
control_hwnd = CreateWindowExW(ctrl_exflags, wndclass, text, wsflags | ctrl_wsflags,
0, 0, This->cctrl_width, height, ns_hwnd,
@@ -813,7 +935,15 @@
ctrl->id = id;
ctrl->dlgid = This->cctrl_next_dlgid;
ctrl->cdcstate = CDCS_ENABLED | CDCS_VISIBLE;
- list_add_tail(&This->cctrls, &ctrl->entry);
+ list_init(&ctrl->sub_cctrls);
+
+ if(This->cctrl_active_vg)
+ list_add_tail(&This->cctrl_active_vg->sub_cctrls,
&ctrl->sub_cctrls_entry);
+ else
+ list_add_tail(&This->cctrls, &ctrl->entry);
+
+ SetWindowLongPtrW(ctrl->hwnd, GWLP_USERDATA, (LPARAM)ctrl);
+
if(ppctrl) *ppctrl = ctrl;
This->cctrl_next_dlgid++;
@@ -832,7 +962,6 @@
UINT cur_col_pos, cur_row_pos;
customctrl *ctrl;
BOOL fits_height;
- static const UINT col_indent = 100; /* The first column is indented 100px */
static const UINT cspacing = 90; /* Columns are spaced with 90px */
static const UINT rspacing = 4; /* Rows are spaced with 4 px. */
@@ -844,7 +973,7 @@
TRACE("%p\n", This);
column_width = This->cctrl_width + cspacing;
- nr_of_cols = (container_width - col_indent + cspacing) / column_width;
+ nr_of_cols = (container_width - This->cctrl_indent + cspacing) / column_width;
/* We don't need to do anything unless the number of visible columns has changed.
*/
if(nr_of_cols == This->cctrls_cols)
@@ -854,7 +983,7 @@
return rc.bottom - rc.top;
}
- This->cctrls_cols = nr_of_cols;
+ This->cctrls_cols = nr_of_cols;
/* Get the size of the tallest control, and the total size of
* all the controls to figure out the number of slots we need.
@@ -864,10 +993,7 @@
{
if(ctrl->cdcstate & CDCS_VISIBLE)
{
- RECT rc;
- UINT control_height;
- GetWindowRect(ctrl->wrapper_hwnd, &rc);
- control_height = rc.bottom - rc.top;
+ UINT control_height = ctrl_get_height(ctrl);
max_control_height = max(max_control_height, control_height);
total_height += control_height + rspacing;
@@ -892,10 +1018,7 @@
{
if(ctrl->cdcstate & CDCS_VISIBLE)
{
- RECT rc;
- UINT control_height;
- GetWindowRect(ctrl->wrapper_hwnd, &rc);
- control_height = rc.bottom - rc.top;
+ UINT control_height = ctrl_get_height(ctrl);
if(cur_row_pos + control_height > container_height)
{
@@ -917,13 +1040,13 @@
/* Move the controls to their final destination
*/
- cur_col_pos = col_indent, cur_row_pos = 0;
+ cur_col_pos = 0, cur_row_pos = 0;
LIST_FOR_EACH_ENTRY(ctrl, &This->cctrls, customctrl, entry)
{
if(ctrl->cdcstate & CDCS_VISIBLE)
{
RECT rc;
- UINT control_height;
+ UINT control_height, control_indent;
GetWindowRect(ctrl->wrapper_hwnd, &rc);
control_height = rc.bottom - rc.top;
@@ -933,7 +1056,13 @@
cur_col_pos += This->cctrl_width + cspacing;
}
- SetWindowPos(ctrl->wrapper_hwnd, NULL, cur_col_pos, cur_row_pos, 0, 0,
+
+ if(ctrl->type == IDLG_CCTRL_VISUALGROUP)
+ control_indent = 0;
+ else
+ control_indent = This->cctrl_indent;
+
+ SetWindowPos(ctrl->wrapper_hwnd, NULL, cur_col_pos + control_indent,
cur_row_pos, 0, 0,
SWP_NOACTIVATE | SWP_NOSIZE | SWP_NOZORDER);
cur_row_pos += control_height + rspacing;
@@ -953,7 +1082,7 @@
if(parent)
{
- customctrl *ctrl;
+ customctrl *ctrl, *sub_ctrl;
HFONT font;
wndstyle = GetWindowLongW(This->cctrls_hwnd, GWL_STYLE);
@@ -972,6 +1101,13 @@
LIST_FOR_EACH_ENTRY(ctrl, &This->cctrls, customctrl, entry)
{
if(font) SendMessageW(ctrl->hwnd, WM_SETFONT, (WPARAM)font, TRUE);
+
+ /* If this is a VisualGroup */
+ LIST_FOR_EACH_ENTRY(sub_ctrl, &ctrl->sub_cctrls, customctrl,
sub_cctrls_entry)
+ {
+ if(font) SendMessageW(sub_ctrl->hwnd, WM_SETFONT, (WPARAM)font,
TRUE);
+ }
+
customctrl_resize(This, ctrl);
}
}
@@ -1004,18 +1140,8 @@
LIST_FOR_EACH_ENTRY_SAFE(cur1, cur2, &This->cctrls, customctrl, entry)
{
- TRACE("Freeing control %p\n", cur1);
list_remove(&cur1->entry);
-
- if(cur1->type == IDLG_CCTRL_MENU)
- {
- TBBUTTON tbb;
- SendMessageW(cur1->hwnd, TB_GETBUTTON, 0, (LPARAM)&tbb);
- DestroyMenu((HMENU)tbb.dwData);
- }
-
- DestroyWindow(cur1->hwnd);
- HeapFree(GetProcessHeap(), 0, cur1);
+ ctrl_free(cur1);
}
return TRUE;
@@ -1044,11 +1170,13 @@
InitCommonControlsEx(NULL);
This->cctrl_width = 160; /* Controls have a fixed width */
+ This->cctrl_indent = 100;
This->cctrl_def_height = 23;
This->cctrls_cols = 0;
This->cctrl_next_dlgid = 0x2000;
list_init(&This->cctrls);
+ This->cctrl_active_vg = NULL;
if( !GetClassInfoW(COMDLG32_hInstance, ctrl_container_classname, &wc) )
{
@@ -1409,9 +1537,31 @@
hitem = GetDlgItem(This->dlg_hwnd, IDC_FILETYPE);
if(This->filterspec_count)
{
- UINT i;
+ HDC hdc;
+ HFONT font;
+ SIZE size;
+ UINT i, maxwidth = 0;
+
+ hdc = GetDC(hitem);
+ font = (HFONT)SendMessageW(hitem, WM_GETFONT, 0, 0);
+ SelectObject(hdc, font);
+
for(i = 0; i < This->filterspec_count; i++)
+ {
SendMessageW(hitem, CB_ADDSTRING, 0,
(LPARAM)This->filterspecs[i].pszName);
+
+ if(GetTextExtentPoint32W(hdc, This->filterspecs[i].pszName,
lstrlenW(This->filterspecs[i].pszName), &size))
+ maxwidth = max(maxwidth, size.cx);
+ }
+ ReleaseDC(hitem, hdc);
+
+ if(maxwidth > 0)
+ {
+ maxwidth += GetSystemMetrics(SM_CXVSCROLL) + 4;
+ SendMessageW(hitem, CB_SETDROPPEDWIDTH, (WPARAM)maxwidth, 0);
+ }
+ else
+ ERR("Failed to calculate width of filetype dropdown\n");
SendMessageW(hitem, CB_SETCURSEL, This->filetypeindex, 0);
}
@@ -1427,6 +1577,9 @@
init_toolbar(This, hwnd);
update_control_text(This);
update_layout(This);
+
+ if(This->filterspec_count)
+ events_OnTypeChange(This);
return TRUE;
}
@@ -1538,6 +1691,11 @@
}
CoTaskMemFree(filename);
}
+
+ /* The documentation claims that OnTypeChange is called only
+ * when the dialog is opened, but this is obviously not the
+ * case. */
+ events_OnTypeChange(This);
}
return FALSE;
@@ -1746,10 +1904,9 @@
if(!This->filterspecs)
return E_FAIL;
- if(iFileType >= This->filterspec_count)
- This->filetypeindex = This->filterspec_count - 1;
- else
- This->filetypeindex = iFileType;
+ iFileType = max(iFileType, 1);
+ iFileType = min(iFileType, This->filterspec_count);
+ This->filetypeindex = iFileType-1;
return S_OK;
}
@@ -1762,7 +1919,10 @@
if(!piFileType)
return E_INVALIDARG;
- *piFileType = This->filetypeindex;
+ if(This->filterspec_count == 0)
+ *piFileType = 0;
+ else
+ *piFileType = This->filetypeindex + 1;
return S_OK;
}
@@ -1818,6 +1978,13 @@
{
FileDialogImpl *This = impl_from_IFileDialog2(iface);
TRACE("%p (0x%x)\n", This, fos);
+
+ if( !(This->options & FOS_PICKFOLDERS) && (fos & FOS_PICKFOLDERS)
)
+ {
+ WCHAR buf[30];
+ LoadStringW(COMDLG32_hInstance, IDS_SELECT_FOLDER, buf,
sizeof(buf)/sizeof(WCHAR));
+ IFileDialog2_SetTitle(iface, buf);
+ }
This->options = fos;
@@ -2850,7 +3017,7 @@
ULONG attr;
TRACE("%p (%p, %p)\n", This, shv, pidl);
- if(!This->filterspec_count)
+ if(!This->filterspec_count && !(This->options & FOS_PICKFOLDERS))
return S_OK;
hr = SHGetIDListFromObject((IUnknown*)shv, &parent_pidl);
@@ -2872,6 +3039,12 @@
{
IShellItem_Release(psi);
return S_OK;
+ }
+
+ if((This->options & FOS_PICKFOLDERS) && !(attr & (SFGAO_FOLDER |
SFGAO_LINK)))
+ {
+ IShellItem_Release(psi);
+ return S_FALSE;
}
hr = S_OK;
@@ -3116,7 +3289,7 @@
HRESULT hr;
TRACE("%p (%d, %p, %d)\n", This, dwIDCtl, pszLabel, bChecked);
- hr = cctrl_create_new(This, dwIDCtl, pszLabel, WC_BUTTONW, BS_AUTOCHECKBOX, 0,
+ hr = cctrl_create_new(This, dwIDCtl, pszLabel, WC_BUTTONW,
BS_AUTOCHECKBOX|BS_MULTILINE, 0,
This->cctrl_def_height, &ctrl);
if(SUCCEEDED(hr))
{
@@ -3193,6 +3366,7 @@
case IDLG_CCTRL_PUSHBUTTON:
case IDLG_CCTRL_CHECKBUTTON:
case IDLG_CCTRL_TEXT:
+ case IDLG_CCTRL_VISUALGROUP:
SendMessageW(ctrl->hwnd, WM_SETTEXT, 0, (LPARAM)pszLabel);
break;
default:
@@ -3510,15 +3684,32 @@
LPCWSTR pszLabel)
{
FileDialogImpl *This = impl_from_IFileDialogCustomize(iface);
- FIXME("stub - %p (%d, %s)\n", This, dwIDCtl, debugstr_w(pszLabel));
- return E_NOTIMPL;
+ customctrl *vg;
+ HRESULT hr;
+ TRACE("%p (%d, %s)\n", This, dwIDCtl, debugstr_w(pszLabel));
+
+ if(This->cctrl_active_vg)
+ return E_UNEXPECTED;
+
+ hr = cctrl_create_new(This, dwIDCtl, pszLabel, WC_STATICW, 0, 0,
+ This->cctrl_def_height, &vg);
+ if(SUCCEEDED(hr))
+ {
+ vg->type = IDLG_CCTRL_VISUALGROUP;
+ This->cctrl_active_vg = vg;
+ }
+
+ return hr;
}
static HRESULT WINAPI IFileDialogCustomize_fnEndVisualGroup(IFileDialogCustomize *iface)
{
FileDialogImpl *This = impl_from_IFileDialogCustomize(iface);
- FIXME("stub - %p\n", This);
- return E_NOTIMPL;
+ TRACE("%p\n", This);
+
+ This->cctrl_active_vg = NULL;
+
+ return S_OK;
}
static HRESULT WINAPI IFileDialogCustomize_fnMakeProminent(IFileDialogCustomize *iface,
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Bg.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Bg.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Bg.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "ÐÑÑÑÑ Ð½Ðµ ÑÑÑеÑÑвÑва"
IDS_FILENOTEXISTING "ФайлÑÑ Ð½Ðµ ÑÑÑеÑÑвÑва"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "СÑÑ
Ñани"
IDS_SAVE_AS "СÑÑ
Ñани каÑо"
IDS_OPEN_FILE "ÐÑвоÑи Ñайл"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ca.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ca.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ca.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "La ruta no existeix"
IDS_FILENOTEXISTING "El fitxer no existeix"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Desa"
IDS_SAVE_AS "Anomenar i Desar"
IDS_OPEN_FILE "Obre Fitxer"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Cs.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Cs.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Cs.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "AdresáŠneexistuje"
IDS_FILENOTEXISTING "Soubor neexistuje"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Uložit"
IDS_SAVE_AS "Ulož pod jménem"
IDS_OPEN_FILE "OtevÅÃt soubor"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Da.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Da.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Da.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Stien eksisterer ikke."
IDS_FILENOTEXISTING "Filen eksisterer ikke."
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Gem"
IDS_SAVE_AS "Gem som"
IDS_OPEN_FILE "Ã
ben fil"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_De.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_De.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_De.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Der Pfad existiert nicht"
IDS_FILENOTEXISTING "Die Datei existiert nicht"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Speichern"
IDS_SAVE_AS "Speichern als"
IDS_OPEN_FILE "Ãffne Datei"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_El.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_El.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_El.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Το μονοÏάÏι δεν Ï
ÏάÏÏει"
IDS_FILENOTEXISTING "Το αÏÏείο δεν Ï
ÏάÏÏει"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "ÎÏοθήκεÏ
Ïη"
IDS_SAVE_AS "ÎÏοθήκεÏ
Ïη ÏÏ"
IDS_OPEN_FILE "Îνοιγμα ÎÏÏείοÏ
"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_En.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_En.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_En.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Path does not exist"
IDS_FILENOTEXISTING "File does not exist"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Save"
IDS_SAVE_AS "Save As"
IDS_OPEN_FILE "Open File"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
@@ -479,7 +481,7 @@
EDITTEXT IDC_FILENAME, 226, 240, 100, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
LTEXT "Files of type:", IDC_FILETYPESTATIC, 160, 256, 60, 9,
SS_RIGHT
- COMBOBOX IDC_FILETYPE, 226, 256, 100, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
+ COMBOBOX IDC_FILETYPE, 226, 256, 100, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
| WS_VSCROLL |
CBS_HASSTRINGS | CBS_DROPDOWNLIST
DEFPUSHBUTTON "&Open", IDOK, 350, 240, 40, 14, WS_GROUP
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Eo.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Eo.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Eo.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Vojo estas neekzistanta"
IDS_FILENOTEXISTING "Dosiero estas neekzistanta"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Konservu"
IDS_SAVE_AS "Konservu"
IDS_OPEN_FILE "Malfermu Dosieron"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Es.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Es.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Es.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "La ruta no existe"
IDS_FILENOTEXISTING "El archivo no existe"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Guardar"
IDS_SAVE_AS "&Guardar como"
IDS_OPEN_FILE "Abrir archivo"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Fi.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Fi.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Fi.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Kansiota ei ole"
IDS_FILENOTEXISTING "Tiedostoa ei ole"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Tallenna"
IDS_SAVE_AS "Tallenna nimellä"
IDS_OPEN_FILE "Avaa tiedosto"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Fr.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Fr.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Fr.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Le chemin d'accès n'existe pas"
IDS_FILENOTEXISTING "Le fichier n'existe pas"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Enregistrer"
IDS_SAVE_AS "Enregistrer"
IDS_OPEN_FILE "Ouvrir le fichier"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_He.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_He.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_He.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "×× ×ª×× ××× × ×§×××"
IDS_FILENOTEXISTING "×ק×××¥ ××× × ×§×××"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "ש××ר×"
IDS_SAVE_AS "ש×××¨× ×ש×"
IDS_OPEN_FILE "פת××ת ק×××¥"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Hu.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Hu.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Hu.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Ãtvonal nem létezik"
IDS_FILENOTEXISTING "Fájl nem létezik"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Mentés"
IDS_SAVE_AS "Mentés másként"
IDS_OPEN_FILE "Fájl megnyitása"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_It.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_It.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_It.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Il percorso specificato non esiste"
IDS_FILENOTEXISTING "Il file non esiste"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Salva"
IDS_SAVE_AS "Salva con nome"
IDS_OPEN_FILE "Apri file"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ja.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ja.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ja.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "ãã¹ãè¦ã¤ããã¾ãã"
IDS_FILENOTEXISTING "ãã¡ã¤ã«ãè¦ã¤ããã¾ãã"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "ä¿å"
IDS_SAVE_AS "ååãä»ãã¦ä¿å"
IDS_OPEN_FILE "ãã¡ã¤ã«ãéã"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ko.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ko.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ko.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "ê²½ë¡ê° ì¡´ì¬íì§ ììµëë¤."
IDS_FILENOTEXISTING "íì¼ì´ ì¡´ì¬íì§ ììµëë¤"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "ì ì¥"
IDS_SAVE_AS "ë¤ë¥¸ ì´ë¦ì¼ë¡ ì ì¥"
IDS_OPEN_FILE "íì¼ ì´ê¸°"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Lt.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Lt.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Lt.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Kelias neegzistuoja"
IDS_FILENOTEXISTING "Failas neegzistuoja"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "IÅ¡saugoti"
IDS_SAVE_AS "IÅ¡saugoti kaip"
IDS_OPEN_FILE "Atverti failÄ
"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Nl.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Nl.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Nl.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Het pad bestaat niet"
IDS_FILENOTEXISTING "Kan het bestand niet vinden"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -135,6 +136,7 @@
IDS_SAVE "Opslaan"
IDS_SAVE_AS "&Opslaan als"
IDS_OPEN_FILE "Open bestand"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_No.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_No.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_No.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Stien finnes ikke"
IDS_FILENOTEXISTING "Filen finnes ikke"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Lagre"
IDS_SAVE_AS "Lagre som"
IDS_OPEN_FILE "Ã
pne fil"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Pl.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Pl.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Pl.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Katalog nie istnieje"
IDS_FILENOTEXISTING "Plik nie istnieje"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Zapisz"
IDS_SAVE_AS "Zapisz jako"
IDS_OPEN_FILE "Otwórz plik"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Pt.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Pt.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Pt.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "A localização não existe"
IDS_FILENOTEXISTING "O ficheiro não existe"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Gravar"
IDS_SAVE_AS "Gravar Como"
IDS_OPEN_FILE "Abrir Ficheiro"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ro.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ro.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ro.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -36,6 +36,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Calea nu existÄ"
IDS_FILENOTEXISTING "FiÈierul nu existÄ"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -138,6 +139,7 @@
IDS_SAVE "PÄstrare"
IDS_SAVE_AS "PÄstrare în:"
IDS_OPEN_FILE "Deschidere fiÈier"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ru.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ru.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Ru.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "ÐÑÑÑ Ð½Ðµ ÑÑÑеÑÑвÑеÑ"
IDS_FILENOTEXISTING "Файл не ÑÑÑеÑÑвÑеÑ"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "СоÑ
ÑаниÑÑ"
IDS_SAVE_AS "СоÑ
ÑаниÑÑ ÐºÐ°Ðº"
IDS_OPEN_FILE "ÐÑкÑÑÑÑ Ñайл"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Si.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Si.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Si.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Pot ne obstaja"
IDS_FILENOTEXISTING "Datoteka ne obstaja"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Shrani"
IDS_SAVE_AS "Shrani kot"
IDS_OPEN_FILE "Odpri datoteko"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sk.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sk.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sk.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Cesta neexistuje"
IDS_FILENOTEXISTING "Súbor neexistuje"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Uložiť"
IDS_SAVE_AS "Uložiť ako"
IDS_OPEN_FILE "Otvoriť súbor"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sq.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sq.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sq.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -38,6 +38,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Rruga nuk ekziston"
IDS_FILENOTEXISTING "Dokumenti nuk ekziston"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -69,6 +70,7 @@
PD32_GENERIC_ERROR "Nje error."
PD32_DRIVER_UNKNOWN "Driveri i printerir i panjohur."
PD32_NO_DEVICES "Para se te besh nje detyre ne lidhje me
printerin si konfigurimi i faqes ose printimi i dokumentit, duhet te instaloni nje
printer. Ju lutem instaloni nje dhe provoni perseri."
+
PD32_DEFAULT_PRINTER "Printeri i perzgjedhur; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "Dokumentet %d jane ne
rradhe/pritje"
PD32_MARGINS_IN_INCHES "Diferenca [inches]"
@@ -139,6 +141,7 @@
IDS_SAVE "Ruaj"
IDS_SAVE_AS "Ruaj si "
IDS_OPEN_FILE "Hap"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
@@ -370,6 +373,7 @@
ICON "", ico3, 170,131, 76,24, WS_GROUP |
SS_CENTERIMAGE
CONTROL "Mbledh", chx2,"Button",BS_AUTOCHECKBOX |
WS_GROUP | WS_TABSTOP,168,118,100,12
EDITTEXT edt3, 240,103, 32,12, WS_GROUP | ES_NUMBER
+
GROUPBOX "Printo gamen", grp1, 8,92, 144,64, WS_GROUP
CONTROL "Te gjith",
rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,106,64,12
CONTROL "Faqet",
rad3,"Button",BS_AUTORADIOBUTTON,16,122,36,12
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sr.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sr.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sr.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Putanja ne postoji"
IDS_FILENOTEXISTING "Datoteka ne postoji"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "SaÄuvaj"
IDS_SAVE_AS "SaÄuvaj kao"
IDS_OPEN_FILE "Otvori datoteku"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sv.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sv.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Sv.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Sökvägen finns inte"
IDS_FILENOTEXISTING "Filen finns inte"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -135,6 +136,7 @@
IDS_SAVE "Spara"
IDS_SAVE_AS "Spara som"
IDS_OPEN_FILE "Ãppna fil"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Th.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Th.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Th.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "à¹à¸¡à¹à¸à¸à¹à¸à¹à¸£à¸à¸à¸à¸£à¸µ"
IDS_FILENOTEXISTING "à¹à¸¡à¹à¸à¸à¹à¸à¹à¸¡"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -135,6 +136,7 @@
IDS_SAVE "Save"
IDS_SAVE_AS "à¸à¸±à¸à¸à¸·à¸"
IDS_OPEN_FILE "à¹à¸à¹à¸¡"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Tr.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Tr.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Tr.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -33,6 +33,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "Kütük yolu yok."
IDS_FILENOTEXISTING "Kütük yok."
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -135,6 +136,7 @@
IDS_SAVE "Sakla"
IDS_SAVE_AS "Ayrı Sakla"
IDS_OPEN_FILE "Kütük Aç"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Tw.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Tw.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Tw.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "è³æ夾ä¸åå¨"
IDS_FILENOTEXISTING "æªæ¡ä¸åå¨"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "Save"
IDS_SAVE_AS "å¦åæ°æª"
IDS_OPEN_FILE "Open File"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Uk.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Uk.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Uk.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "ШлÑÑ
не ÑÑнÑÑ"
IDS_FILENOTEXISTING "Файл не ÑÑнÑÑ"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "ÐбеÑегÑи"
IDS_SAVE_AS "ÐбеÑегÑи Ñк"
IDS_OPEN_FILE "ÐÑдкÑиÑи Ñайл"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/lang/cdlg_Zh.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/lang/cd…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/lang/cdlg_Zh.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/lang/cdlg_Zh.rc [iso-8859-1] Sat Sep 27 10:16:40
2014
@@ -34,6 +34,7 @@
/ : < > |"
IDS_PATHNOTEXISTING "è·¯å¾ä¸åå¨"
IDS_FILENOTEXISTING "æ件ä¸åå¨"
+ IDS_INVALID_FOLDERNAME "The selection contains a non-folder object"
}
STRINGTABLE
@@ -136,6 +137,7 @@
IDS_SAVE "ä¿å"
IDS_SAVE_AS "å¦å为"
IDS_OPEN_FILE "æå¼æ件"
+ IDS_SELECT_FOLDER "Select Folder"
}
/*
Modified: trunk/reactos/dll/win32/comdlg32/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comdlg32/resourc…
==============================================================================
--- trunk/reactos/dll/win32/comdlg32/resource.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comdlg32/resource.h [iso-8859-1] Sat Sep 27 10:16:40 2014
@@ -126,11 +126,12 @@
#define IDC_COLOR_GL 727
#define IDC_COLOR_BL 728
-#define IDS_FONT_SIZE 1200
-#define IDS_SAVE_BUTTON 1201
-#define IDS_SAVE_IN 1202
-#define IDS_SAVE 1203
-#define IDS_SAVE_AS 1204
-#define IDS_OPEN_FILE 1205
+#define IDS_FONT_SIZE 1200
+#define IDS_SAVE_BUTTON 1201
+#define IDS_SAVE_IN 1202
+#define IDS_SAVE 1203
+#define IDS_SAVE_AS 1204
+#define IDS_OPEN_FILE 1205
+#define IDS_SELECT_FOLDER 1206
#define IDS_FAKEDOCTEXT 1300
Modified: trunk/reactos/media/doc/README.WINE
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Sat Sep 27 10:16:40 2014
@@ -61,7 +61,7 @@
reactos/dll/win32/clusapi # Synced to Wine-1.7.17
reactos/dll/win32/comcat # Synced to Wine-1.7.17
reactos/dll/win32/comctl32 # Synced to Wine-1.7.27
-reactos/dll/win32/comdlg32 # Synced to Wine-1.7.17
+reactos/dll/win32/comdlg32 # Synced to Wine-1.7.27
reactos/dll/win32/compstui # Synced to Wine-1.7.17
reactos/dll/win32/credui # Synced to Wine-1.7.17
reactos/dll/win32/crypt32 # Synced to Wine-1.7.17