By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,403 Members | 855 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,403 IT Pros & Developers. It's quick & easy.

Adding Complex Context Menu to Default Windows Menus

P: n/a
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?
Jun 27 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Jun 3, 2:27 am, za...@construction-imaging.com wrote:
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/arti...hellExtensions

Good luck.

Jeff
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.