Adding Complex Context Menu to Default Windows Menus

Z

zacks

I have figured out how to add custom menu items to various buildin
context menus by looking at a project on CodeProject.com and then
doing some registry searches.

But I can't find how to add a complex menu item, that is, a menu item
that has a submenu, or possibly a sub-submenu.

I also cannot figure out how to tell windows just where in the menu
the new menu item should appear, or how to add a new separator line to
setoff the new menu item.

I know it can be done since I have a copy of WinZip and it installs a
new context menu item with submenu items. Also, there are software
products available to do this.

Are there any instructions anywhere out there on how to do this?
 
J

Jeff

I have figured out how to add custom menu items to various buildin
context menus by looking at a project on CodeProject.com and then
doing some registry searches.

But I can't find how to add a complex menu item, that is, a menu item
that has a submenu, or possibly a sub-submenu.

I also cannot figure out how to tell windows just where in the menu
the new menu item should appear, or how to add a new separator line to
setoff the new menu item.

I know it can be done since I have a copy of WinZip and it installs a
new context menu item with submenu items. Also, there are software
products available to do this.

Are there any instructions anywhere out there on how to do this?

Since you like CodeProject.com, here is a tutorial about how to create
a shell extension:

http://www.codeproject.com/KB/shell/shellextguide1.aspx

I assume since this is posted in the C# news group, that you might not
be interested in working with COM and ATL directly. In that case,
this article might help:

http://www.theserverside.net/tt/articles/showarticle.tss?id=ShellExtensions

Good luck.

Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top