Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Just invoke the CExtMenuControlBar::SetMdiWindowPopupName() method. As its argument you need to specify a name of the top level menu item whose pop-up menu should contain a list of the currently open MDI windows:

m_wndMenuBar.SetMdiWindowPopupName( _T("Window") );

This can be done in the CMailFrame::OnCreate() method.