Please enable JavaScript to view this site.

A-Shell Reference

Added July 2013

Context menus, defined with PopupMenu=, may specify icons, using the same syntax as for AUI_MENU, i.e., by prepending an image specification clause enclosed in vertical bars to the menu text string.

PopupMenu={|imgspec{=size}|}text, cmd; ...

For example:

PopupMenu= "|refresh::ashico1|refresh data,VK_xF502;" + "|delete.png=16|delete item,VK_xF503;" ...

As with AUI_MENU, when no {=size} clause is present, the system default menu icon size will be used (typically 16). Older versions of Windows may also limit the size to 16x16, while newer versions allow 24x24, 32x32 and beyond.