How to create a popup menu anywhere on screen?

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

Exactly for this reason I need this command.
Another example is if you want to create something equal to the windows system menu: