LoadMenuItemIcon command

The LoadMenuItemIcon command associates specified icon with a menu item.

 

Syntax

String$='MenuItemID, PathToFile, IconIndex'

PluginSet("PlugIn","String$")

PluginRun("PlugIn","LoadMenuItemIcon")

Parameters

MenuItemID

[in] Identifier of the menu item to receive icon.

PathToFile

[in] Path to the file containing icon to be loaded. Supported file formats are .ico, .exe, .dll and .cpl.

IconIndex

[in] Usually .exe, .dll or .cpl files contain more than one icon in resources. This parameter is optional and allows to specify zero-based index of the icon to be loaded. Default value is zero.