CMenu::GetMenuState

Call this member function to retrieve the status of the specified menu item or the number of items in a pop-up menu.

Syntax

UINT GetMenuState( UINT nID, UINT nFlags ) 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, CMenu::CheckMenuItem, CMenu::EnableMenuItem