Module: wine
Branch: refs/heads/master
Commit: 6a80a492fb670b8281567afd7c6dd1da26423230
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6a80a492fb670b8281567af…
Author: Andrey Turkin <pancha(a)mail.nnov.ru>
Date: Sat Feb 11 18:41:23 2006 +0100
commdlg: IShellBrowser sets IShellView window's control id to 5002.
---
dlls/commdlg/filedlgbrowser.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/commdlg/filedlgbrowser.c b/dlls/commdlg/filedlgbrowser.c
index c8731b9..0236c35 100644
--- a/dlls/commdlg/filedlgbrowser.c
+++ b/dlls/commdlg/filedlgbrowser.c
@@ -472,6 +472,9 @@ static HRESULT WINAPI IShellBrowserImpl_
fodInfos->ShellInfos.hwndView = hwndView;
+ /* Set view window control id to 5002 */
+ SetWindowLongPtrW(hwndView, GWLP_ID, lst2);
+
/* Select the new folder in the Look In combo box of the Open file dialog */
FILEDLG95_LOOKIN_SelectItem(fodInfos->DlgInfos.hwndLookInCB,fodInfos->ShellInfos.pidlAbsCurrent);