Call this member function to obtain the menu-item identifier for a menu item located at the position defined by nPos.
UINT GetMenuItemID( int nPos ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CMenu Overview, CMenu Member Functions, Menu Classes, CWnd::GetMenu, CMenu::GetMenuItemCount, CMenu::GetSubMenu