From a454cd9d29b479aa5ab4792d53e9ede12d05acca Mon Sep 17 00:00:00 2001 From: Pierre Mageau Date: Sat, 23 Oct 1999 14:24:11 +0000 Subject: [PATCH] Set the default view button to List in the FileDialog. --- dlls/commdlg/filedlg95.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/commdlg/filedlg95.c b/dlls/commdlg/filedlg95.c index 3c91860f426..9c19eabb308 100644 --- a/dlls/commdlg/filedlg95.c +++ b/dlls/commdlg/filedlg95.c @@ -829,6 +829,9 @@ static LRESULT FILEDLG95_InitUI(HWND hwnd) ShowWindow(GetDlgItem(hwnd,IDC_OPENREADONLY),SW_HIDE); } + /* List View is selected by default */ + SendDlgItemMessageA(hwnd, IDC_LIST, BM_SETCHECK,(WPARAM) BST_CHECKED,0); + return 0; } -- 2.11.4.GIT