Static Context Menus in IE 5.0
With the release of Internet Explorer 5.0, Microsoft has made it possible for you to define your own static context menu items. It’s as simple as adding a new registry key at the following location:
HKEY_CURRENT_USER
SOFTWARE
Microsoft
Internet Explorer
MenuExt
The default
value for the key can be either a URL or a program. An additional key
called contexts must also be present. This key
contains a binary value that determines to which context menu
(Internet Explorer provides several, depending on the circumstances)
you want to add the new menu item. The values are:
|
Context Menu |
Value |
|---|---|
|
Default |
0x01 |
|
Image |
0x02 |
|
ActiveX Control |
0x04 |
|
Table |
0x08 |
|
Selected Text |
0x10 |
|
Hyperlink |
0x20 |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access