tWebOSMaps Disable Context Popup

How can I disable the context menu that appears when right-clicking on the map?

Hi,


To disable the right click on the map:

- Place an ApplicationEvents component on the form
- Assign the OnMessage event and add the following code:

procedure TFrmMain.ApplicationEvents1Message(var Msg: tagMSG;
  var Handled: Boolean);
begin
  if (Msg.Message = WM_RBUTTONDOWN) or (Msg.Message = WM_RBUTTONUP) then
  begin
    Handled := IsChild(WebOSMaps1.Webbrowser.Handle, Msg.hwnd);
  end;
end;
Hi,

Thanks for the fast responce. I would like to disable the Menu not the rick-event.
I have implemented an Popupmenu on the Event "OnMarkerMouseDown" thats showsup by klicking on a Marker. That would be also disabled if I use this Method.

There is currently no built-in functionality to disable the right-click menu on the map.

Can you please follow instructions on the page linked below to disable this for the WebOSMaps1.WebBrowser on application level?
http://delphi.cjcsoft.net/viewthread.php?tid=48189