2.2.6.20.19 Menu::RemoveMenu

Description

Removes a menu item from a specified position

Syntax

BOOL RemoveMenu( UINT nPosition, UINT nFlags )

Parameters

nPosition
items command ID or index
nFlags
flag to indicate if nPosition is command ID or index,
could be one of the following, MF_BYCOMMAND or MF_BYPOSITION. Default is MF_BYCOMMAND

Return

returns true if successful else false.

Examples

Remark

See Also

Header to Include

Control.h