TrackPopupMenu function user32
Displays a shortcut menu at the specified location and tracks the selection of items on the menu. The shortcut menu can appear anywhere on the screen.
BOOL TrackPopupMenu(
[in] HMENU hMenu,
[in] UINT uFlags,
[in] int x,
[in] int y,
[in] int nReserved,
[in] HWND hWnd,
[in, optional] const RECT *prcRect
);
Implementation
int TrackPopupMenu(
int hMenu,
int uFlags,
int x,
int y,
int nReserved,
int hWnd,
Pointer<RECT> prcRect,
) => _TrackPopupMenu(hMenu, uFlags, x, y, nReserved, hWnd, prcRect);