Call this member function to delete an item from the menu. If the menu item has an associated pop-up menu, DeleteMenu destroys the handle to the pop-up menu and frees the memory used by the pop-up menu.
BOOL DeleteMenu( UINT nPosition, UINT nFlags );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CMenu Overview, CMenu Member Functions, Menu Classes