Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Internet explorer contextuel menu
Message
From
01/05/2018 17:34:20
 
 
To
30/04/2018 14:13:55
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01659647
Message ID:
01659676
Views:
50
this is an extra subject to vfp but its needed if working with browsers.

i studied the question helped with some web articles and i end with these conclusions:

1.IE11 contextuel menu can extended easily with custom items but this needs to tweak the registry mandatory.
-must create as administrator a new key in registry at HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\
-must specifythe name and the "contexts" where this new key have action in a REG_DWORD string as follow

the logical OR of the following values:
- Default 0x1, Images 0x2, Controls 0x4, Tables 0x8, Text selection 0x10, Anchor 0x20
must specify the action to execute when clicking the item created(generally execute a local html|html file or a web page.
then can create many items to extend the native IE11 context menu.
this dont override the native IE11 context menu but only extend it.
this section is easy to implement programmatly.
see the attached phtos 1 & 2

2.If use builds a local file or a web page can overide completely the native IE11 context menu and build a custom one on rightclick.
the items must execute local htm-html local files or web pages or even com object (as createObject("visual foxpro.application")).
here must built an html page with javascript scripts.
see the attached photo 3.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform