oledlg: Set the user supplied caption.
This commit is contained in:
parent
7a17e824ab
commit
284f07e412
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue