Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines the number of items in a pop-up or top-level menu.
UINT GetMenuItemCount( ) const;
Return Value
The number of items in the menu if the function is successful; otherwise –1.
Example
See the example for CWnd::GetMenu.
Requirements
Header: afxwin.h