Page 1 of 1

Enable screen on CEF Offscreen

PostPosted: Fri Nov 12, 2021 7:14 pm
by totti240282
Is it possible to view the browser window from an offscreen application?

Re: Enable screen on CEF Offscreen

PostPosted: Mon Nov 15, 2021 9:05 pm
by amaitland
Short answer is no.

What are you trying to achieve exactly?

Re: Enable screen on CEF Offscreen

PostPosted: Tue Nov 16, 2021 12:41 am
by totti240282
A visible webview for debug click

Re: Enable screen on CEF Offscreen

PostPosted: Tue Nov 16, 2021 12:46 am
by totti240282

Re: Enable screen on CEF Offscreen

PostPosted: Tue Nov 16, 2021 6:06 am
by amaitland
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.

Re: Enable screen on CEF Offscreen

PostPosted: Tue Nov 16, 2021 11:25 am
by totti240282
I'll keep that in mind thanks for now I'll try with OnPaint