对话框程序:OnInitDialog()中,
... m_pMenuMain = new CMenu;
if( ! m_pMenuMain ->LoadMenu( IDR_MAINFRAME ) )
return;
... CMenu * pMenu;
int i;
//清空菜单 
pMenu = m_pMenuMain ->GetSubMenu( 0 );
for( i=0; 3; i++)
pMenu ->DeleteMenu( i, MF_BYPOSITION);
... this ->SetMenu( m_pMenuMain );
...
-----------------------------------------------
DeleteMenu后,菜单怎么仍然存在?