cef popup win problem

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

cef popup win problem

Postby johnchome » Thu Mar 29, 2012 3:32 am

I learn to use the framework and get in trouble that I want to open the "_blank" link by the default Browser. But get the urlStr is NULL. Problem described :
bool ClientHandler::OnBeforePopup(CefRefPtr<CefBrowser> parentBrowser,
const CefPopupFeatures& popupFeatures,
CefWindowInfo& windowInfo,
const CefString& url,
CefRefPtr<CefClient>& client,
CefBrowserSettings& settings) {
REQUIRE_UI_THREAD();
std::wstring urlStr = url;
ShellExecute(NULL, _T("open"), urlStr.c_str(), NULL, NULL, SW_SHOW);
return true;
}
Much appreciate for your help!
johnchome
Newbie
 
Posts: 6
Joined: Thu Mar 29, 2012 3:30 am

Re: cef popup win problem

Postby magreenblatt » Thu Mar 29, 2012 9:24 am

magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: cef popup win problem

Postby johnchome » Thu Mar 29, 2012 8:05 pm

Thanks.cef_binary_1.963.439_windows.zip is fine but cef_preview_3.1069.532_windows.zip webkit not uptodate
johnchome
Newbie
 
Posts: 6
Joined: Thu Mar 29, 2012 3:30 am

Re: cef popup win problem

Postby magreenblatt » Fri Mar 30, 2012 10:37 am

magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 171 guests