Provides a method that queries for permission to grab the focus.
AllowFocusChange Queries for permission to grab the focus when loading the page or when a script attempts to focus an element.
IProtectFocus was introduced in Windows Internet Explorer 7.
Hosts of MSHTML and the Web Browser control should respond to a IServiceProvider::QueryService for
Implement this interface to prevent web pages hosted in MSHTML or the Web Browser control from stealing focus from other parts of the user interface, for example when a user is entering data into an edit field in the host application.
Stock Implementation None Custom Implementation Yes Inherits from IUnknown Header and IDL files docobj.h, docobj.idl Minimum availability Internet Explorer 7 Minimum operating systems Windows Vista