简体   繁体   中英

CEF -Difference between CefBrowserView and CefBrowserHost

I wonder what is difference between CefBrowserView base and CefBrowserHost base application. When I research others Cef base application by spyxx, So many application don't have CefBrowserHost Window. But They have CefBrowserView.

Which one is recommended, CefBrowserView or CefBrowserHost ?

CefBrowserView base application is composed as follows.

  • CefWindow - CefBrowserView. ...

But CefBrowserHost base application is

  • Windows Native Window - CefBrowserHost (as child)..

CefBrowserHost uses a window that you give it.

CefBrowserView creates a window.

  • If you embed CEF in an existing window in your app, use CefBrowserHost .
  • If you create a new top level window, use CefBrowserView .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM