显示自定义菜单的窗口
ON_COMMAND(ID_VIEW_CUSTOMIZE, &CMainFrame::OnViewCustomize)
void CMainFrame::OnViewCustomize(){ CMFCToolBarsCustomizeDialog* pDlgCust = new CMFCToolBarsCustomizeDialog(this, TRUE /* 扫描菜单*/); pDlgCust->EnableUserDefinedToolbars(); pDlgCust->Create();}