MFC Title

Change the title

By default, the title of the view is set to Untitled - Project Name as following:

the view with initial title

To change this title, open ProjectName.cpp and apply the SetWindowText() function at line 6, like this:

BOOL CWinSockApp::InitInstance()
{
    // ...
 
    // The one and only window has been initialized, so show and update it
	m_pMainWnd->SetWindowText(_T("MY APP"));
	m_pMainWnd->ShowWindow(SW_SHOW);
	m_pMainWnd->UpdateWindow();
	return TRUE;
}

After doing this, your own title will be shown at the top of view like this:

Here, MY APP is the new title of this view.