MenuItemFromPoint function user32

int MenuItemFromPoint(
  1. int hWnd,
  2. int hMenu,
  3. POINT ptScreen
)

Determines which menu item, if any, is at the specified location.

int MenuItemFromPoint(
  HWND  hWnd,
  HMENU hMenu,
  POINT ptScreen
);

Implementation

int MenuItemFromPoint(int hWnd, int hMenu, POINT ptScreen) =>
    _MenuItemFromPoint(hWnd, hMenu, ptScreen);