Call this member function to determine the number of items in a pop-up or top-level menu.
UINT GetMenuItemCount( ) const;
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CMenu Overview, CMenu Member Functions, Menu Classes, CWnd::GetMenu, CMenu::GetMenuItemID, CMenu::GetSubMenu