Fixed browsing to other directories in Word 2003 file open
dialog. Double clicking on a folder in the File->Open dialog works now.
This commit is contained in:
parent
f5e828d9f3
commit
3a29a309a4
|
@ -1265,6 +1265,16 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
|
||||||
TRACE("-- NM_RCLICK %p\n",This);
|
TRACE("-- NM_RCLICK %p\n",This);
|
||||||
break;
|
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:
|
case HDN_ENDTRACKA:
|
||||||
TRACE("-- HDN_ENDTRACKA %p\n",This);
|
TRACE("-- HDN_ENDTRACKA %p\n",This);
|
||||||
/*nColumn1 = ListView_GetColumnWidth(This->hWndList, 0);
|
/*nColumn1 = ListView_GetColumnWidth(This->hWndList, 0);
|
||||||
|
@ -1287,7 +1297,6 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
|
||||||
case LVN_ITEMACTIVATE:
|
case LVN_ITEMACTIVATE:
|
||||||
TRACE("-- LVN_ITEMACTIVATE %p\n",This);
|
TRACE("-- LVN_ITEMACTIVATE %p\n",This);
|
||||||
OnStateChange(This, CDBOSC_SELCHANGE); /* the browser will get the IDataObject now */
|
OnStateChange(This, CDBOSC_SELCHANGE); /* the browser will get the IDataObject now */
|
||||||
ShellView_DoContextMenu(This, 0, 0, TRUE);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LVN_COLUMNCLICK:
|
case LVN_COLUMNCLICK:
|
||||||
|
|
Loading…
Reference in New Issue