Click or drag to resize
Xcalibur Systems LLC Logo

MenuHelperGetMenuItemID Method

Retrieves the menu item identifier of a menu item located at the specified position in a menu.

GetMenuItemID 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 IntPtr GetMenuItemID(
	IntPtr menuHandle,
	uint position
)

Parameters

menuHandle  IntPtr
A handle to the menu to be examined.
position  UInt32
The zero-based relative position of the menu item whose identifier is to be retrieved.

Return Value

IntPtr
See Also