CMenu::GetMenuItemCount

Call this member function to determine the number of items in a pop-up or top-level menu.

Syntax

UINT GetMenuItemCount( ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CMenu Overview, CMenu Member Functions, Menu Classes, CWnd::GetMenu, CMenu::GetMenuItemID, CMenu::GetSubMenu