CreatePopupImageMenu()
Syntax
Result = CreatePopupImageMenu(#Menu [, Flags])Description
Creates a new empty popup menu, with image support for its items.
Parameters
#Menu A number to identify the new menu. #PB_Any can be used to auto-generate this number. Flags (optional) Not used.
Return value
Returns nonzero if the menu was created successfully and zero if not. If #PB_Any was used for the #Menu parameter then the generated number is returned on success.
Remarks
Once created, this menu becomes the current menu for further item additions. It's now possible to use functions such as MenuTitle(), MenuItem(), MenuBar(), OpenSubMenu() to populate the menu.
DisplayPopupMenu() can be used to display this popup menu at any position on the screen.
To handle menu events, use BindEvent(), EventWindow() and EventMenu().
See Also
CreatePopupMenu(), DisplayPopupMenu(), CreateMenu(), CreateImageMenu(), FreeMenu(), MenuTitle(), MenuItem(), MenuBar(), OpenSubMenu()
Supported OS
All