16,472
社区成员
发帖
与我相关
我的任务
分享
void CXXXXView::OnInitialUpdate()
{
CView::OnInitialUpdate();
// TODO: Add your specialized code here and/or call the base class
GetDocument()->SetTitle(_T("AAAA"));
}
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
m_strTitle = _T("AAAA");
cs.style &=~ (LONG) FWS_ADDTOTITLE;
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return TRUE;
}