oledlg: Set initial focus to the display list.

This commit is contained in:
Huw Davies 2006-10-19 11:24:17 +01:00 committed by Alexandre Julliard
parent 1d9e48c77e
commit e898890241
1 changed files with 3 additions and 1 deletions

View File

@ -440,7 +440,9 @@ static INT_PTR CALLBACK ps_dlg_proc(HWND hdlg, UINT msg, WPARAM wp, LPARAM lp)
selection_change(hdlg, ps_struct);
return TRUE; /* use default focus */
SetFocus(GetDlgItem(hdlg, IDC_PS_DISPLAYLIST));
return FALSE; /* use new focus */
}
case WM_COMMAND:
switch(LOWORD(wp))