Google Answers Logo
View Question
 
Q: Nested context menus in Internet Explorer ( Answered 4 out of 5 stars,   0 Comments )
Question  
Subject: Nested context menus in Internet Explorer
Category: Computers > Internet
Asked by: dsears-ga
List Price: $5.25
Posted: 24 May 2002 03:23 PDT
Expires: 31 May 2002 03:23 PDT
Question ID: 17781
I want to create nested context menu items in Internet Explorer.

I'm familiar with adding context menu items by creating keys
under[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt].
There does not, however, appear to be a way to nest them as you would
nest normal application menus.

An example of what I'm referring to would be the "Encoding" menu item.
Right click on some white space in IE and mouse over "Encoding". It
will span about 5 nested menu items, one of which is "More". Mouse
over "More" and it will reveal another 30 or so.

Request for Question Clarification by netcrazy-ga on 24 May 2002 10:48 PDT
Hi,
Are you looking for creating the nested context menu items in an HTML
page in Internet Explorer or in the IE browser as such.

Thanks
netcrazy

Clarification of Question by dsears-ga on 24 May 2002 14:10 PDT
This is in reference to the real IE context menu. I am not looking for
HTML; this needs to be a registry modification or something
comparable.

Request for Question Clarification by bookface-ga on 24 May 2002 20:05 PDT
The only way I could see to do this would be to involve both a
registry modification and a seperate file on the computer containing a
javascript menu.

i.e., the registry would point to C:\file.htm, and C:\file.htm would
contain the HTML to create a menu.

Would this satisfy your requirements?

Clarification of Question by dsears-ga on 25 May 2002 00:45 PDT
I'm not interested in anything involving HTML, CSS, Javascript, etc.
Answer  
Subject: Re: Nested context menus in Internet Explorer
Answered By: netcrazy-ga on 25 May 2002 08:59 PDT
Rated:4 out of 5 stars
 
Hi dsears,
After doing an extensive search on google and other engines, it seems
that there are only 2 ways to get what you are looking for. I checked
the MS site and found these two methods of creating nested context
menus in IE.
The first involves the use of the IDocHostUIHandler interface and
allows an application to disable or replace the context menus. The
second technique, which you know, involves the use of the registry and
allows the existing context menus to be extended.
Check this site to find our more details on this and how to do this.
[ http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/overview/overview.asp
]

I hope this will help you in creating the menus. But make sure that if
you are making any changes in the registry, take a backup of the
existing registry setup and then make the changes.
Feel free to ask for clarification.
Regards,
netcrazy

Request for Answer Clarification by dsears-ga on 25 May 2002 13:45 PDT
Again, I'm looking for a registry modification that will allow me to
nest custom context menus. I've been over everything I can find at
Microsoft extensively, including the page you linked in your response.

Forgive me if this is a stupid question, but where does that page
mention anything about how to nest the menu items?

Clarification of Answer by netcrazy-ga on 28 May 2002 14:06 PDT
Hi again..
Sorry for not responding to you earlier. Was busy in searching a more
closer answer for you. I searched many sites and read many books to
get this but all the sites refer to how to create context menu in IE
and not "nested menus". The method is the same as I wrote to you
earlier. Every site is referring to the same registry change. But here
is one site which, I guess can help you.
Check this one :
[ http://168.144.193.113/more/A97A2KREG.htm ]
It gives a registry file to create context menu for MS Access. I tried
creating for IE and it worked. But couldn't get success for nesting
it.

You can also some test to nest the menu by making changes at this
location:
HKEY_CLASSES_ROOT\MIME\Database\Codepage\ on your system. There is a
complete branch of registry keys which are the nested context menus
available in IE. You can give a try by creating such keys for your
requirement.
This is what I've found till now. I'm still looking for a better
possibility  for this. As soon as get this, will let you know.
I hope this will help.
Regards.
dsears-ga rated this answer:4 out of 5 stars
I'm satisfied that what I'm looking for is not possible. Thanks for
the thorough and exhaustive effort!

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy