Views Framework: Possible to make child of an existing HWND?

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.

Views Framework: Possible to make child of an existing HWND?

Postby radar » Mon Jan 28, 2019 8:19 am

Is it possible to attach a view to an existing parent window (HWND) when using the Views framework (--use-views)?

From the examples / tests it seems only a root window is opened, and I couldn't find an example that would use an existing window as parent.

Thanks.
radar
Techie
 
Posts: 12
Joined: Thu Nov 30, 2017 3:16 am

Re: Views Framework: Possible to make child of an existing H

Postby magreenblatt » Mon Jan 28, 2019 10:12 am

A views window needs to be a non-child window (overlapped, popup, etc). You can parent it to another window using the SetParent WinAPI funtion but you can’t give it WS_CHILD style.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Views Framework: Possible to make child of an existing H

Postby RoderickRew » Tue Jan 29, 2019 8:16 am

Can you somehow get the same funcionality even if you can't give it WS_CHILD style btw?
Check out the best fat burners for belly fat here.
RoderickRew
Newbie
 
Posts: 1
Joined: Mon Jan 28, 2019 5:25 am


Return to Support Forum

Who is online

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