###User Defined Function###
_GUICtrlMenu_RemoveMenu

###Description###
Deletes a menu item or detaches a submenu from the specified menu

###Syntax###
#include <GuiMenu.au3>
_GUICtrlMenu_RemoveMenu ( $hMenu, $iItem [, $fByPos = True] )


###Parameters###
@@ParamTable@@
$hMenu
	Handle to the menu to be changed
$iItem
	Identifier or position of the menu item
$fByPos
	[optional] Menu identifier flag:
		True - $iItem is a 0-based item position
		False - $iItem is a menu item identifier
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	True.
Failure:	False.
@@End@@


###Remarks###
If the menu item opens a drop down menu or submenu, <a href="_GUICtrlMenu_RemoveMenu.htm">_GUICtrlMenu_RemoveMenu()</a> does not destroy the menu or its handle, allowing the menu to be reused.
Before this function is called, the <a href="_GUICtrlMenu_GetItemSubMenu.htm">_GUICtrlMenu_GetItemSubMenu()</a> function should be used retrieve a handle to the drop-down menu or submenu.


###Related###
_GUICtrlMenu_GetItemSubMenu


###See Also###
@@MsdnLink@@ RemoveMenu


###Example###
@@IncludeExample@@
