CEF on a layered window

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

CEF on a layered window

Postby Peter » Thu Jul 08, 2021 9:12 am

Hello!

I was having this problem with CEF + GTK on Windows some time ago, and apparently this was due to GTK using WS_EX_LAYERED for borderless windows. Now I'm facing the same problem, because the same thing happens with any windows on Windows 8 and newer.
My current workaround is just to use off-screen rendering, which is not optimal for obvious reasons.

Could you confirm if CEF is even supposed to work on a layered window, and maybe hint on what is needed to make it work?

I wonder if I am just missing some WINAPI thing that I'm unaware of, after dealing with only cross-platform frameworks all this time...
Peter
Techie
 
Posts: 38
Joined: Thu Mar 05, 2020 9:41 am

Re: CEF on a layered window

Postby magreenblatt » Thu Jul 08, 2021 11:45 am

There is a proposed PR for this. I have not tested it myself.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: CEF on a layered window

Postby Peter » Fri Jul 09, 2021 8:47 am

Will check it out, thanks!
Peter
Techie
 
Posts: 38
Joined: Thu Mar 05, 2020 9:41 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 36 guests