Rendering two views in the same native 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.

Rendering two views in the same native window?

Postby jijjijj » Fri Nov 17, 2023 8:44 am

Hi, is it possible to make two browsers use the same native window, so one would render its page using all available space and the other would render its page using only part of the available space (it means they would kind of overlap)?

iframes cannot be used :twisted:

Thank you in advance
jijjijj
Newbie
 
Posts: 1
Joined: Fri Nov 17, 2023 8:39 am

Re: Rendering two views in the same native window?

Postby HarmlessDave » Mon Nov 20, 2023 12:04 am

Someone else might have better ideas, but these might work:

a) Create 2 windows and float one on top of the other
b) use off-screen rendering and splat the bits into the same native window

With either of these I can see having problems with handling mouse and keyboard input, especially for the parts that overlap. It probably makes more sense to place 2 native windows side-by-side instead of overlapping.
HarmlessDave
Expert
 
Posts: 370
Joined: Fri Jul 11, 2014 2:02 pm

Re: Rendering two views in the same native window?

Postby KatrinaS » Mon Nov 20, 2023 8:08 am

I guess you could cobble something together by simply using inline frames and a bit of CSS :)
KatrinaS
Mentor
 
Posts: 83
Joined: Tue Jul 04, 2023 6:30 pm


Return to Support Forum

Who is online

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