Commit aa187527 authored by Bill Medland's avatar Bill Medland Committed by Alexandre Julliard

Get the folder browser to work as well with W notification as A (it

seems to work reasonably).
parent e684c1da
...@@ -203,8 +203,8 @@ static LRESULT MsgNotify(HWND hWnd, UINT CtlID, LPNMHDR lpnmh) ...@@ -203,8 +203,8 @@ static LRESULT MsgNotify(HWND hWnd, UINT CtlID, LPNMHDR lpnmh)
switch (pnmtv->hdr.idFrom) switch (pnmtv->hdr.idFrom)
{ case IDD_TREEVIEW: { case IDD_TREEVIEW:
switch (pnmtv->hdr.code) switch (pnmtv->hdr.code)
{ case TVN_DELETEITEMA: { case TVN_DELETEITEMA: case TVN_DELETEITEMW:
{ FIXME("TVN_DELETEITEMA\n"); { FIXME("TVN_DELETEITEMA/W\n");
lptvid=(LPTV_ITEMDATA)pnmtv->itemOld.lParam; lptvid=(LPTV_ITEMDATA)pnmtv->itemOld.lParam;
IShellFolder_Release(lptvid->lpsfParent); IShellFolder_Release(lptvid->lpsfParent);
SHFree(lptvid->lpi); SHFree(lptvid->lpi);
...@@ -213,8 +213,8 @@ static LRESULT MsgNotify(HWND hWnd, UINT CtlID, LPNMHDR lpnmh) ...@@ -213,8 +213,8 @@ static LRESULT MsgNotify(HWND hWnd, UINT CtlID, LPNMHDR lpnmh)
} }
break; break;
case TVN_ITEMEXPANDINGA: case TVN_ITEMEXPANDINGA: case TVN_ITEMEXPANDINGW:
{ FIXME("TVN_ITEMEXPANDINGA\n"); { FIXME("TVN_ITEMEXPANDINGA/W\n");
if ((pnmtv->itemNew.state & TVIS_EXPANDEDONCE)) if ((pnmtv->itemNew.state & TVIS_EXPANDEDONCE))
break; break;
...@@ -225,7 +225,7 @@ static LRESULT MsgNotify(HWND hWnd, UINT CtlID, LPNMHDR lpnmh) ...@@ -225,7 +225,7 @@ static LRESULT MsgNotify(HWND hWnd, UINT CtlID, LPNMHDR lpnmh)
TreeView_SortChildren(hwndTreeView, pnmtv->itemNew.hItem, FALSE); TreeView_SortChildren(hwndTreeView, pnmtv->itemNew.hItem, FALSE);
} }
break; break;
case TVN_SELCHANGEDA: case TVN_SELCHANGEDA: case TVN_SELCHANGEDW:
lptvid=(LPTV_ITEMDATA)pnmtv->itemNew.lParam; lptvid=(LPTV_ITEMDATA)pnmtv->itemNew.lParam;
pidlRet = lptvid->lpifq; pidlRet = lptvid->lpifq;
if (lpBrowseInfo->lpfn) if (lpBrowseInfo->lpfn)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment