by Pro2x2 » Tue Jan 17, 2017 12:11 pm
Use run C:\CEF\tests\cefclient\Release\cefclient.exe --sheight=507
// C:\CEF\tests\cefclient\renderer\client_renderer.cc
virtual void OnContextCreated(CefRefPtr<ClientAppRenderer> app,
CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
CefRefPtr<CefV8Context> context) OVERRIDE {
CefRefPtr<CefCommandLine> command_line = CefCommandLine::GetGlobalCommandLine();
const std::string& sheight = command_line->GetSwitchValue("sheight");
sheight empty line!