Browse Source

WPF Example - Enable WM_POINTER support

Comment out DisableStylusAndTouchSupport

https://github.com/dotnet/docs/blob/master/docs/framework/migration-guide/mitigation-pointer-based-touch-and-stylus-support.md
pull/2958/head
amaitland 6 years ago
parent
commit
2792702c64
  1. 4
      CefSharp.Wpf.Example/App.xaml.cs

4
CefSharp.Wpf.Example/App.xaml.cs

@ -13,7 +13,9 @@ namespace CefSharp.Wpf.Example
{
protected override void OnStartup(StartupEventArgs e)
{
System.AppContext.SetSwitch("Switch.System.Windows.Input.Stylus.DisableStylusAndTouchSupport", true);
//System.AppContext.SetSwitch("Switch.System.Windows.Input.Stylus.DisableStylusAndTouchSupport", true);
System.AppContext.SetSwitch("Switch.System.Windows.Input.Stylus.EnablePointerSupport", true);
#if DEBUG
if (!System.Diagnostics.Debugger.IsAttached)

Loading…
Cancel
Save