Thanx, it worked. The only problem was, that CDocTemplate doesn't contain the m_hMenuShared, the CMDIDocTemplate contains it, so here's how i made it : POSITION pos = pDocMan->GetFirstDocTemplatePosition(); while (pos) { CMultiDocTemplate *pDocTemplate = (CMultiDocTemplate*)pDocMan->GetNextDocTemplate(pos); } ::InsertMenu(pDocTemplate->m_hMenuShared,1,MF_BYPOSITION | MF_POPUP, (UINT)pMenu->m_hMenu, "submenu"); wich added the "submenu" just after "File".