I added a menu bar to PHP desktop that has links in my script like this
In c++ code I use WindowProc
case IDM_ACCOUNT:
CefWindowInfo windowInfo;
CefBrowserSettings browser_settings;
CefRefPtr<CefBrowser> cefBrowser;
CefRefPtr<CefFrame> frame = cefBrowser->GetMainFrame();
std::string startupURL = "http://127.0.0.1:9990/account/";
frame->LoadURL(startupURL);
break;
My code crashes when I select anything from menu mainBrowser in app to go to this URL.