Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Exposes a method that determines whether a window that is launched by another window should be displayed or blocked, allowing control of pop-up windows.
The INewWindowManager interface inherits from the IUnknown interface. INewWindowManager also has these types of members:
The INewWindowManager interface has these methods.
INewWindowManager::EvaluateNewWindow Accepts data about a new window that is attempting to display and determines whether that window should be allowed to open based on the user's preferences. |
When you implement INewWindowManager, you can override some or all of the Windows Internet Explorer pop-up blocking logic. To use the default Internet Explorer pop-up blocking logic, implement INewWindowManager::EvaluateNewWindow to return E_FAIL. This instructs the WebBrowser control to use the default Internet Explorer implementation. Alternately, the application hosting the WebBrowser control can call CoInternetSetFeatureEnabled with the FEATURE_WEBOC_POPUPMANAGEMENT flag for the same result.
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2 [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today