Hi!
There are different approaches to this.
If you want to display VFP menu, the best way I know (works in VFP7 and higher only) is following:
1. have a timer on form deactivated with interval in 1 milisecond.
2. Bind VFP method code to document's event "oncontextmenu".
3. In the VFP code activate the timer.
4. In the Timer event of the timer: deactivate timer and sho context menu using usual VFP popup.
If you want to display DHTML menu as part of HTML page, you have to do some Java Script programming to open your own HTML menu and work with it. This is more troublesome though. It is also based on the oncontextmenu event of different objects in HTML document.
HTH.
>Hi all,
>
>i recently tried to embed IE on a form to act
>as a rendering tool for local html stuff
>(files, no web resources).
>
>No problem with it until i discovered
>a nasty problem i could not overcome.
>
>How to replace (or at least disable)
>the defaut IE left-and righ-click
>popup menus with your own.
>
>Help welcome!
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.