My application needs to connect to internet through proxy. I am making use of QNetworkProxyFactory::setUseSystemConfiguration to accomplish it. For Authenticated proxies, i need to pass user credentials to the proxy object. I don't want to build a custom dialog to get these details instead i want to make use of OS dialog for it which was shown by internet explorer(Please refer to the screenshot). I have tried using CredUIPromptForCredentials to show credentials dialog but this UI is not same as windows security dialog.
Can someone throw some light on which MSDN API to be used to show the below dialog from C++ ?
Below is the one which was shown from CredUIPromptForCredentials
I am able to show WindowsSecurity dialog to ask for Proxy credentials. Here is the code. Will have to fine tune it bit but it is working.