TrackPopupMenu (user32)
Last changed: timur.kelman+pinvoke@gmail.com-79.193.218.180

.
Summary

C# Signature:

[DllImport("user32.dll")]
static extern bool TrackPopupMenu(IntPtr hMenu, uint uFlags, int x, int y,
   int nReserved, IntPtr hWnd, IntPtr prcRect);

User-Defined Types:

None.

Notes:

Return value can be an int - from the Platform SDK:

If you specify TPM_RETURNCMD in the uFlags parameter, the return value is the menu-item identifier of the item that the user selected.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation