win32gui.TrackPopupMenu

int = TrackPopupMenu(hmenu, flags , x , y , reserved , hwnd , prcRect )

Display popup shortcut menu

Parameters

hmenu : int

The handle to the menu

flags : uint

flags

x : int

x pos

y : int

y pos

reserved : int

reserved

hwnd : hwnd

owner window

prcRect : PyRECT

Pointer to rec (can be None)