oledlg: Set the user supplied caption.

This commit is contained in:
Huw Davies 2006-10-18 21:08:43 +01:00 committed by Alexandre Julliard
parent 7a17e824ab
commit 284f07e412
1 changed files with 3 additions and 0 deletions

View File

@ -154,6 +154,9 @@ static INT_PTR CALLBACK ps_dlg_proc(HWND hdlg, UINT msg, WPARAM wp, LPARAM lp)
SetPropW(hdlg, prop_name, ps_struct); SetPropW(hdlg, prop_name, ps_struct);
if(ps_struct->ps->lpszCaption)
SetWindowTextW(hdlg, ps_struct->ps->lpszCaption);
return TRUE; /* use default focus */ return TRUE; /* use default focus */
} }
case WM_COMMAND: case WM_COMMAND: