How to create a popup menu anywhere on screen?

BlitzMax Forums/BlitzMax Programming/How to create a popup menu anywhere on screen?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I found function PopupWindowMenu(window,menu), but this command only can open a menu at current mouse position. Is there anyway to open it anywhere on screen?
(For example something like PopupWindowMenu(window,menu,x=MENU_MOUSEX,y=MENU_MOUSEY))