int createPopupMenu();

Start a new popup menu.

You'll need to use insertMenuItem to add menu items and trackPopupMenu to display it. Afterward using the menu, you must destroy it using destroyMenu