the Program shows with the CreateMenu and AppendMenu begot Menu on the desired position (relatively to that Mainwindow %hwnd !) on and expects The selection.
Parameter:
P:L1
X-position
P:L2
Y-position
the Result standing in %LINKS:[MenuItem].
If the Trackmenu however on one dialog created go should are The downstairs Examples Trackmenu_byxy, Trackmenu_bymousepos or Trackmenu_byxy_bydialog To recommend.