Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CMenu::GetMenuItemCount
CMenu                                       Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  UINT GetMenuItemCount()
 
  Remarks
 
  Determines the number of items in a pop-up or top-level menu.
 
  Return Value
 
  The number of items in the menu if the function is successful; otherwise
  -1.
 
  See Also
 
  CWnd::GetMenu, CMenu::GetMenuItemID, CMenu::GetSubMenu,
  ::GetMenuItemCount
 
 
                                     -♦-