Enable screen on CEF Offscreen

Having problems with building or using the CefSharp .NET binding? Ask your CEF-related questions here. Please ask general usage questions on StackOverflow.

Moderator: amaitland

Enable screen on CEF Offscreen

Postby totti240282 » Fri Nov 12, 2021 7:14 pm

Is it possible to view the browser window from an offscreen application?
totti240282
Techie
 
Posts: 16
Joined: Fri Oct 25, 2019 3:16 am

Re: Enable screen on CEF Offscreen

Postby amaitland » Mon Nov 15, 2021 9:05 pm

Short answer is no.

What are you trying to achieve exactly?
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: Enable screen on CEF Offscreen

Postby totti240282 » Tue Nov 16, 2021 12:41 am

A visible webview for debug click
totti240282
Techie
 
Posts: 16
Joined: Fri Oct 25, 2019 3:16 am

Re: Enable screen on CEF Offscreen

Postby totti240282 » Tue Nov 16, 2021 12:46 am

totti240282
Techie
 
Posts: 16
Joined: Fri Oct 25, 2019 3:16 am

Re: Enable screen on CEF Offscreen

Postby amaitland » Tue Nov 16, 2021 6:06 am

OnPaint is called for every frame, can render the bitmaps to a form/window.

Personally I just switch to the WinForms or WPF versions when I need to debug something.

You can call ShowDevTools() and the DevTools Window will open as normal which is very useful.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: Enable screen on CEF Offscreen

Postby totti240282 » Tue Nov 16, 2021 11:25 am

I'll keep that in mind thanks for now I'll try with OnPaint
totti240282
Techie
 
Posts: 16
Joined: Fri Oct 25, 2019 3:16 am


Return to CefSharp Forum

Who is online

Users browsing this forum: No registered users and 6 guests