We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to use Save / Update Password prompts, but it doesn't take effect even if I put the following process. Is there anything else I need to do?
HRESULT BrowserWindow::CreateBrowserControlsWebView() { return m_uiEnv->CreateCoreWebView2Controller(m_hWnd, Callback<ICoreWebView2CreateCoreWebView2ControllerCompletedHandler>( [this](HRESULT result, ICoreWebView2Controller* host) -> HRESULT { if (!SUCCEEDED(result)) { OutputDebugString(L"Controls WebView creation failed\n"); return result; } // WebView created m_controlsController = host; CheckFailure(m_controlsController->get_CoreWebView2(&m_controlsWebView), L""); wil::com_ptr<ICoreWebView2Settings> settings; RETURN_IF_FAILED(m_controlsWebView->get_Settings(&settings)); RETURN_IF_FAILED(settings->put_AreDevToolsEnabled(FALSE)); wil::com_ptr<ICoreWebView2Settings4> settings4; RETURN_IF_FAILED(m_controlsWebView->get_Settings(&settings)); settings4 = settings.try_query<ICoreWebView2Settings4>(); settings4->put_IsPasswordAutosaveEnabled(TRUE); .... }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I want to use Save / Update Password prompts, but it doesn't take effect even if I put the following process.
Is there anything else I need to do?
The text was updated successfully, but these errors were encountered: