This method changes an existing menu item at the position specified by nPosition.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
BOOL ModifyMenu( UINT nPosition, UINT nFlags, UINT nIDNewItem,
const CBitmap* pBmp );
BOOL ModifyMenu( UINT nPosition, UINT nFlags, UINT nIDNewItem = 0,
LPCTSTR lpszNewItem = NULL );
CMenu::AppendMenu, CMenu::InsertMenu, CMenu::CheckMenuItem, CMenu::EnableMenuItem, CMenu::Detach