MenuItemFromPoint (user32)
Last changed: anonymous

.
Summary

C# Signature:

[DllImport("user32.dll")]
static extern int MenuItemFromPoint(IntPtr hWnd, IntPtr hMenu, POINT ptScreen);

User-Defined Types:

None.

Notes:

The MSDN Docs say that ptScreen should be in client or window coordinates, but it actually needs to be in screen coordinates.

Note also that ptScreen is passed by value, not reference.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation