Add icon to specific context menu item

Hi,

I'm wondering how to add an icon on the left of a specific context menu item.

Like Winzip, or Winrar does when you right click on a .rar file, next to the "extract file" entry, you can see an icon.

I've figured how to make it in Dopus, and it's almost perfect.
I wanted to add a specific icon next to the "Enqueue in Winamp" item, I've found how to do it on specific files extensions, but I'm searching how to do it directly on the files concerned by this entry :

HKEY_CLASSES_ROOT\Winamp.File

The purpose is to edit only one file entry instead of editing .mp3, then .wma, then .mid and so on...

Next question : how to have the same result in Windows Explorer (not only under Dopus, but rather a system-wide change) ?
is there a nice registry key to add under the file entry ? All my items entries with an icon next to them are based on namespace concept.

Thanks for you help.

I don't know of a way to add icons to context menus which will work in Explorer as well, unless you want to program a shell extension in C++ or similar. (Maybe there's away to do it via the registry but I am not aware of one. Might be worth a Google.)

Within Opus it's easy. Just edit the context menu item and click on the box to the right of its name. (The ladybug in the screenshot below.)

I found it, and it's really nice, that's why I was wondering how to make it system wide.

Before posting here, I googled a lot to find a way by a registry key, but it seems not possible, unless I code my own .dll :confused:

And what do you think about this type of files ? "HKEY_CLASSES_ROOT\Winamp.File"

It'd be perfect if I could find this entry in Dopus (under file types), but I think I have to create a new "file type group" and add all my winamp extensions (.mod .mid .wma. mp1 .mp2 .mp3 .wav.................)

If MP3 etc. are associated with Winamp then their filetypes probably already point to the Winamp.File class in the registry (unless it exists for something else).

you're right, if I modify the .mp3 file, actually, it shows me the "Winamp media file" file type.

I just had to add the good icon and here we go ! Thanks to Dopus (and you), my wishes come true :wink: