Fixed browsing to other directories in Word 2003 file open dialog
Jozef Stefanka
jstefanka at codeweavers.com
Thu Jul 28 09:14:09 CDT 2005
Change Log: Fixed browsing to other directories in Word 2003 file open dialog.
Double clicking on a folder in the File->Open dialog works now.
Files changed: dlls/shell32/shlview.c
Index: shlview.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shlview.c,v
retrieving revision 1.118
diff -u -r1.118 shlview.c
--- shlview.c 27 Jul 2005 11:10:52 -0000 1.118
+++ shlview.c 28 Jul 2005 14:03:45 -0000
@@ -1264,7 +1264,14 @@
case NM_RCLICK:
TRACE("-- NM_RCLICK %p\n",This);
break;
-
+ case NM_DBLCLK:
+ TRACE("-- NM_DBLCLK %p\n",This);
+ if (OnDefaultCommand(This) != S_OK)
ShellView_OpenSelectedItems(This);
+ break;
+ case NM_RETURN:
+ TRACE("-- NM_DBLCLK %p\n",This);
+ if (OnDefaultCommand(This) != S_OK)
ShellView_OpenSelectedItems(This);
+ break;
case HDN_ENDTRACKA:
TRACE("-- HDN_ENDTRACKA %p\n",This);
/*nColumn1 = ListView_GetColumnWidth(This->hWndList, 0);
@@ -1287,7 +1294,6 @@
case LVN_ITEMACTIVATE:
TRACE("-- LVN_ITEMACTIVATE %p\n",This);
OnStateChange(This, CDBOSC_SELCHANGE); /* the browser will get
the IDataObject now */
- ShellView_DoContextMenu(This, 0, 0, TRUE);
break;
case LVN_COLUMNCLICK:
More information about the wine-patches
mailing list