oledlg: Set initial focus to the display list.
This commit is contained in:
parent
1d9e48c77e
commit
e898890241
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue