【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.6.20.5 Menu::DeleteMenu
Contents
Description
deletes the specified menu item
Syntax
BOOL DeleteMenu( 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