How to add icons to custom context menu items in Windows 7?


Izzy

Related: How to add a program to the context menu of all files?

I've created custom context menu items and it seems to work for all file types - even via shortcut links. (Selecting my custom option will act on the shortcut target instead of the .lnk file.) Now I want to create an icon to make it stand out. My antivirus and Notepad++ seem to already be able to do this, so I know it's possible. The only question is, how?

Sink

Open regedit.exe and find the key you created for the custom menu item.

Now create a new String value in it and name it Icon. Double click it and enter the path to your custom icon file:

c:\ folder \ icon.ico

You can optionally use the Windows shell32.dll file, like in my example:Registry

result:

Customize icons in context menus

Just an additional note - it looks like this method works on Windows 7 (probably Vista), but when I test on Windows XP, the icon doesn't appear.

Related


VBA > Ribbon > How to add large icons to menu items

sku144 .xlsm> customUI> customUI.xml When I use size="large" in the menu element below, I see buttons with large icons. <button id="btn" size="large" imageMso="GroupOmsInsert"/> However, when I put a button with a size="large" attribute in the menu, the custo

VBA > Ribbon > How to add large icons to menu items

sku144 .xlsm> customUI> customUI.xml When I use size="large" in the menu element below, I see buttons with large icons. <button id="btn" size="large" imageMso="GroupOmsInsert"/> However, when I put a button with a size="large" attribute in the menu, the custo

VBA > Ribbon > How to add large icons to menu items

sku144 .xlsm> customUI> customUI.xml When I use size="large" in the menu element below, I see buttons with large icons. <button id="btn" size="large" imageMso="GroupOmsInsert"/> However, when I put a button with a size="large" attribute in the menu, the custo

How to add icons to custom context menu items in Windows 7?

Izzy Related: How to add a program to the context menu of all files? I've created custom context menu items and it seems to work for all file types - even via shortcut links. (Selecting my custom option will act on the shortcut target instead of the .lnk file.

How to add items to context menu?

Ptr13 Is there any way to add items to the context menu using JavaScript and HTML? I will use Flash if necessary. This question has been answered here , but the solution is to create your own context menu. I just want to add an item to it, as seen in this flas

Add items to New context menu in Windows 8

Richard Herron I want to add an empty markdown file to the "New" context menu in Windows 8 . I've seen at least two solutions to this problem, but none of them worked for me. is it possible? FWIW, markdown files are just plain text files with a .md extension.

What determines the icons of items in the new context menu?

jippyjoe4 I'm not entirely sure how this works. So I can add items to the "new" context menu (displayed when right-clicking or pressing the menu button) via the regedit. For example, if I wanted to create a new .cpp file entry, I could import a .reg file like

How to add items to context menu?

Ptr13 Is there any way to add items to the context menu using JavaScript and HTML? I will use Flash if necessary. This question has been answered here , but the solution is to create your own context menu. I just want to add an item to it, as seen in this flas

Windows 10 - Taskbar - Add items to each program's context menu

Jeff I need context menu entries for each program in the taskbar. Want to add an entry for immediate termination (UNIX/Linux-like signal SIGKILL) of a process. There are many questions on this site how it is done for explorer or desktop. But is it also possibl

VBA > Ribbon > How to add large icons to menu items

sku144 .xlsm> customUI> customUI.xml When I use size="large" in the menu element below, I see buttons with large icons. <button id="btn" size="large" imageMso="GroupOmsInsert"/> However, when I put a button with a size="large" attribute in the menu, the custo

How to add custom script to Firefox context menu?

Bedelenko In Opera, I can add an item to the context menu which is bound to a script on the filesystem. So, for example, when I right click on an image and click this menu item, the URL is passed as a parameter to this local script. Is there any way to do this

Reordering and grouping items in Windows 7 context menu

André Carini How to reorder and create submenus in Windows 7 context menu? I've found a way to selectively remove unwanted entries using the registry or a 3rd party utility, but I don't know a way to rearrange or create my own custom submenus. ninja Not a conc

How to add menu items to IDE context menu in Delphi

Kiril Hadjiev I'm trying to add some functionality to Delphi's IDE to make things easier for myself. I found out how to use INTAServices.MainMenu to add menu items to the IDE main menu and was also able to create some custom component editors so I could have m

How to add icons to custom context menu items in Windows XP?

Izzy related: How can I add a program to the context menu of all files? How to add icons to custom context menu items in Windows 7? The first linked question deals with how to add custom context menu options for all files. This has been tested in Windows XP an

Add items to context menu of icons pinned to taskbar in Windows 7

Romano Is it possible to add items to the context menu displayed when right-clicking an icon pinned to the taskbar? Sometimes I want to "run as administrator". continuous wave To run an application as administrator from the taskbar, left-click on its icon whil

VBA > Ribbon > How to add large icons to menu items

sku144 .xlsm> customUI> customUI.xml When I use size="large" in the menu element below, I see buttons with large icons. <button id="btn" size="large" imageMso="GroupOmsInsert"/> However, when I put a button with a size="large" attribute in the menu, the custo

VBA > Ribbon > How to add large icons to menu items

sku144 .xlsm> customUI> customUI.xml When I use size="large" in the menu element below, I see buttons with large icons. <button id="btn" size="large" imageMso="GroupOmsInsert"/> However, when I put a button with a size="large" attribute in the menu, the custo

Add items to New context menu in Windows 8

Richard Herron I want to add an empty markdown file to the "New" context menu in Windows 8 . I've seen at least two solutions to this problem, but none of them worked for me. is it possible? FWIW, markdown files are just plain text files with a .md extension.

How to add items to context menu?

Ptr13 Is there any way to add items to the context menu using JavaScript and HTML? I will use Flash if necessary. This question has been answered here , but the solution is to create your own context menu. I just want to add an item to it, as seen in this flas

Reordering and grouping items in Windows 7 context menu

André Carini How to reorder and create submenus in Windows 7 context menu? I've found a way to selectively remove unwanted entries using the registry or a 3rd party utility, but I don't know a way to rearrange or create my own custom submenus. ninja Not a conc

How to add menu items to IDE context menu in Delphi

Kiril Hadjiev I'm trying to add some functionality to Delphi's IDE to make things easier for myself. I found out how to use INTAServices.MainMenu to add menu items to the IDE main menu and was also able to create some custom component editors so I could have m

How to add custom script to Firefox context menu?

Bedelenko In Opera, I can add an item to the context menu which is bound to a script on the filesystem. So, for example, when I right click on an image and click this menu item, the URL is passed as a parameter to this local script. Is there any way to do this

Add items to context menu of icons pinned to taskbar in Windows 7

Romano Is it possible to add items to the context menu displayed when right-clicking an icon pinned to the taskbar? Sometimes I want to "run as administrator". continuous wave To run an application as administrator from the taskbar, left-click on its icon whil

What determines the icons of items in the new context menu?

jippyjoe4 I'm not entirely sure how this works. So I can add items to the "new" context menu (displayed when right-clicking or pressing the menu button) via the regedit. For example, if I wanted to create a new .cpp file entry, I could import a .reg file like