Call this member function to change an existing menu item at the position specified by nPosition.
BOOL ModifyMenu( UINT nPosition, UINT nFlags, UINT nIDNewItem = 0, LPCTSTR lpszNewItem = NULL );
BOOL ModifyMenu( UINT nPosition, UINT nFlags, UINT nIDNewItem, const CBitmap* pBmp );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CMenu Overview, CMenu Member Functions, Menu Classes, CMenu::AppendMenu, CMenu::InsertMenu, CMenu::CheckMenuItem, CMenu::EnableMenuItem, CMenu::Detach