CMenu::GetMenuItemID

Call this member function to obtain the menu-item identifier for a menu item located at the position defined by nPos.

Syntax

UINT GetMenuItemID( int nPos ) 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::GetMenuItemCount, CMenu::GetSubMenu