Jump to content

Add icon to Right-click Context-menu.


Recommended Posts

Hi,

I was wondering if anybody would know how to add an icon to the right-click context menu. Just like the WinRAR icons you see there.

Say I would like to add the little DOS-box icon to the "open command window here" context menu item, how would I go about doing this?

Thanks,

eNuffSaid

Link to comment
Share on other sites


You can do the command prompt thing via the registry.

For things like winrar, with icons and submenus, you will need to write an explorer shell extension dll.

Look at MSDN for the latter, I'm sure somehwere on MSFN there's a way to do the command prompt thing via registry.

Link to comment
Share on other sites

first of all they are not icons, they are 13x13 bitmaps. there color is logically anded to the color of the menu (if the menu is white you'll see their actual color, if the menu is dark gray, the bitmap will show all dark and colorless)

and finally it can only be done with a shell extension dll, just like winzip and winrar. You can't easily do it yourself. There is an all purpose shell extension that you can customize to your needs though... try google "context menu extension dll"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...