CMenu::ModifyMenu

This method changes an existing menu item at the position specified by nPosition.

At a Glance

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

Syntax

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

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

See Also

CMenu::AppendMenu, CMenu::InsertMenu, CMenu::CheckMenuItem, CMenu::EnableMenuItem, CMenu::Detach