Hello,
Is it possible to block the use of the right mouse button using the WebView?
What if WebView only works with Microsoft Edge?
with Chrome does it work?
WebView - Edge - Chrome - right button
WebView - Edge - Chrome - right button
Thanks,
Ari
FWH 2212 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
Ari
FWH 2212 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
- Antonio Linares
- Site Admin
- Posts: 42268
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: WebView - Edge - Chrome - right button
Dear Ari,
> Is it possible to block the use of the right mouse button using the WebView?
Yes, we can implement a new method to do it. It is not currently implemented.
ICoreWebView2Settings* settings; // a reminder for me
controller->get_Settings(&settings);
settings->put_AreDefaultContextMenusEnabled(FALSE);
> What if WebView only works with Microsoft Edge?
Yes, WebView is developed by Microsoft and uses the Microsoft required DLLs.
> with Chrome does it work?
No, sorry. Chrome does not provide something similar yet.
> Is it possible to block the use of the right mouse button using the WebView?
Yes, we can implement a new method to do it. It is not currently implemented.
ICoreWebView2Settings* settings; // a reminder for me
controller->get_Settings(&settings);
settings->put_AreDefaultContextMenusEnabled(FALSE);
> What if WebView only works with Microsoft Edge?
Yes, WebView is developed by Microsoft and uses the Microsoft required DLLs.
> with Chrome does it work?
No, sorry. Chrome does not provide something similar yet.
Re: WebView - Edge - Chrome - right button
ok antonio
let's wait..
I present a DashBoard on a public link and I can't let them see the server address for security reasons
let's wait..
I present a DashBoard on a public link and I can't let them see the server address for security reasons
Thanks,
Ari
FWH 2212 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
Ari
FWH 2212 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
- Antonio Linares
- Site Admin
- Posts: 42268
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: WebView - Edge - Chrome - right button
Dear Ari,
I have tried to implement it and the code seems ok and builds ok but it does not work as expected,
so I have opened a new issue for it:
https://github.com/webview/webview/issues/951
There you can see the proposed code. Lets see what they say
I have tried to implement it and the code seems ok and builds ok but it does not work as expected,
so I have opened a new issue for it:
https://github.com/webview/webview/issues/951
There you can see the proposed code. Lets see what they say
Re: WebView - Edge - Chrome - right button
OK,
thank you very much.
thank you very much.
Thanks,
Ari
FWH 2212 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
Ari
FWH 2212 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br