Dela via


CMFCPopupMenu::GetMenuItemCount

Returns the number of items in a pop-up menu.

int GetMenuItemCount() const;

Return Value

The number of items in the menu.

Requirements

Header: afxpopupmenu.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCPopupMenu Class