Deactivate the right mouse button when using WebView2 ?

Rainer-S 1 Reputation point
2020-10-07T20:01:14.397+00:00

How can I deactivate the right mouse button when using WebView2.

I'm a beginner and have just created a Win Forms app with Webview2 following Microsoft's instructions

Translated with Google

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Daniel Zhang-MSFT 9,621 Reputation points
    2020-10-08T09:41:11.94+00:00

    Hi Rainer-S,
    ccwasden has provided two methods in this thread you can refer to.
    Best Regards,
    Daniel Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments