CMenu::ModifyMenu

Call this member function to change an existing menu item at the position specified by nPosition.

Syntax

BOOL ModifyMenu( UINT nPosition, UINT nFlags, UINT nIDNewItem = 0, LPCTSTR lpszNewItem = NULL );

BOOL ModifyMenu( UINT nPosition, UINT nFlags, UINT nIDNewItem, const CBitmap* pBmp );

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::AppendMenu, CMenu::InsertMenu, CMenu::CheckMenuItem, CMenu::EnableMenuItem, CMenu::Detach