And how to disable the context menu with TTMSFNCMaps? If I put "TMSFNCMaps1.EnableContextMenu := False" in the OnMapInitialized event of the demo "PolyElements, Markers and Popups", I still get the context menu.
If I change the procedure "constructor TCoreWebView2ContextMenuRequestedEventHandler.Create(AWebBrowser: TTMSFNCWinWebBrowser);" like this, it works for me:
if (Result = S_OK) and FWebBrowser.GetEnableContextMenu then
begin
Result := FWebBrowser.GetContextMenuItems(nil, ic, FWebBrowser.ContextMenuList);