DisplayPopupMenu, ignore position

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
horst
Enthusiast
Enthusiast
Posts: 197
Joined: Wed May 28, 2003 6:57 am
Location: Munich
Contact:

DisplayPopupMenu, ignore position

Post by horst »

To display a popup menu I often need the command twice:
one for mouse users,
and one for keyboard users (with the extra position parameters), because I don't want the menu to pop up where the mouse cursor happens to be.

It would be nice if DisplayPopupMenu() would accept #PB_Ignore for the two optional parameters (with very obvious functionality).
Horst.