Hello,
I'm trying to get little icons to display to the left of menu items in a menu. I figured the way to do so is the following:
[menuItem setImage:[[NSWorkspace sharedWorkspace] iconForFile:aFile]];
I want to display the file's icon that is listed in the menu. Does anyone know why this might not work? I add the menuitem to the menu after i send menu item this message. Alternatively, i tried changing the On state image for the menuitem, and set the state to on. The checks showed up, but no images. Thanks!
Mike