
Change the caption of the dialog box
Quote:
>-----Original Message-----
>Hi,
>I have created a dialog resource CMyDialog (with wizard).
>CMyDialog *dlg = new CMyDialog();
>Now I want to show this dialog with the caption specified
by the string
>CString title;
>How to do this ?
>Thanks
dlg->SetWindowText("New Name");