第一步:创建一个对话框控件;
第二步:给该对话框关联一个类(比如CTipsDlg );
第三步:CTipsDlg dlgTips;
dlgTips.Create(IDD_TIPS,this);
dlgTips.ShowWindow(TRUE);
CString strTips = L"要修改的界面字符串";
CWnd *pWndStatus = dlgTips.GetDlgItem(IDC_STATIC_TIPS);
//设置新的文字
pWndStatus->SetWindowText(strTips);
dlgTips.UpdateWindow();