|
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.MenusAssembly: 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
)
<DllImportAttribute("user32.dll">]
Public Shared Function GetMenuItemID (
menuHandle As IntPtr,
position As UInteger
) As IntPtr
public:
[DllImportAttribute(L"user32.dll")]
static IntPtr GetMenuItemID(
IntPtr menuHandle,
unsigned int position
)
[<DllImportAttribute("user32.dll")>]
static member GetMenuItemID :
menuHandle : IntPtr *
position : uint32 -> IntPtr
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
IntPtrSee Also