Home > Net >  Cefsharp. Winform window hidden problems
Cefsharp. Winform window hidden problems

Time:09-26

Hello, ladies and gentlemen,

Recent work on a project, bring up a browser window, the browser is using Cefsharp do, when being loaded page need to hide the Form
But call Hide method on the Form, the Form of Cefsharp browser also immediately stopped the page load,

Is there a way to a Form to hide cefsharp continue to load the page?

PS:
CefSettings WindowlessRenderingEnabled attribute is set to true
CefSharp. Winform version 49.01

CodePudding user response:

Have you solved?

CodePudding user response:

 
Settings. UserAgent="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 ";
Settings. The Locale="useful - CN";
Settings. IgnoreCertificateErrors=true;//ignore error message
Settings. WindowlessRenderingEnabled=true;
Settings. CefCommandLineArgs. Add (" disable - gpu ", "1");//solve the problem of black side
Cef. The Initialize (Settings, performDependencyCheck: false, browserProcessHandler: null);
ChromeBrowser=new ChromiumWebBrowser (" www.qq.com ");
PanelWeb. Controls. The Add (chromeBrowser);
ChromeBrowser. The Dock=DockStyle. The Fill;

CodePudding user response:

That is not hidden, to move the window to screen out

CodePudding user response:

2017??
  •  Tags:  
  • C#
  • Related