转载自: http://www.cnblogs.com/think/archive/2011/10/06/CEF-genericUsage.html 一般用法 使用CEF便捷的创建一个全功能的内建浏览器如下所示: // Define an instance of our CefHandler implementation. Various methods in the MyHandler // instance will be called to customize browser behavior. CefRefPtr<CefHandler> handler(new MyHandler()); // Provide information about the parent window, client rectangle, etc. CefWindowInfo info = {...}; // Create the new browser window object, which eventually results in a call to // MyHandler::HandleAfterCreated(). CefBrowser::CreateBrowser(info, false, handler, L"http://www.google.com");