Click or drag to resize
Xcalibur Systems LLC Logo

MenuHelperDeleteMenu Method

Deletes an item from the specified menu. If the menu item opens a menu or submenu, this function destroys the handle to the menu or submenu and frees the memory used by the menu or submenu.

DeleteMenu function


Namespace: Xcalibur.NativeMethods.V2.Menus
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[DllImportAttribute("user32.dll")]
public static bool DeleteMenu(
	IntPtr menuHandle,
	uint position,
	uint flags
)

Parameters

menuHandle  IntPtr
A handle to the menu to be changed.
position  UInt32
The menu item to be deleted, as determined by the flags parameter.
flags  UInt32
Indicates how the position parameter is interpreted.

Return Value

Boolean
See Also