comdlg32: select the Filename edit box content after the user navigated to a directory by entering there the name

Mikołaj Zalewski mikolaj at zalewski.pl
Wed Oct 25 15:00:35 CDT 2006


Part of bug #3242
-------------- next part --------------
diff --git a/dlls/comdlg32/filedlg.c b/dlls/comdlg32/filedlg.c
index 1243d41..5410bf9 100644
--- a/dlls/comdlg32/filedlg.c
+++ b/dlls/comdlg32/filedlg.c
@@ -2021,6 +2021,7 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
             IShellView_Refresh(fodInfos->Shell.FOIShellView);
 	  }
           COMDLG32_SHFree(pidlCurrent);
+          SendMessageW(fodInfos->DlgInfos.hwndFileName, EM_SETSEL, 0, -1);
         }
       }
       ret = FALSE;
-- 
1.4.2.3


More information about the wine-patches mailing list