SetItemIcon

To assign a icon to a Menu item, use the SetItemIcon method.

SetItemIcon theMenu as MenuHandle, whichItem as Integer, iconSelector as Integer

theMenu Handle of a desired menu.

whichItem ID of an item in theMenu.

iconSelector ICON or cicn resource ID-256 (1=257, etc.)
Icon with the ID 259 would get the
iconSelector=3 (259-256=3)


Description:
Assigns a icon to a menu item, see more info in Inside Macintosh, or THINK reference.

Supported platforms:
* MacOS PPC
* MacOS Carbon
* MacOS 68k

Unsupported platforms:
* Windows x86