Поделиться через


Using the Popup Blocker Interfaces (Windows Embedded CE 6.0)

1/6/2010

The following list shows the interfaces that Windows Embedded CE provides to add popup blocking functionality to your client application:

  • IHTMLCEClientServices
    Provides the core functionality of the popup blocker and is implemented by the client application. This interface is requested from the OLE container object through the IServiceProvider interface. IHTMLCEClientServices provides the BeforeWindowOpen method that is called when a Web page script calls window.open to open a new window.
  • IHTMLCEPopupEvents
    Provides methods that track the number of events and retrieve the dispatch identifier of the browser event in the event list.

The IESAMPLE browser implements these interfaces and includes a popup blocking functionality in the Popups tab in Internet Options. When this functionality is enabled, the unwanted popups are filtered and the user can receive notifications. The user can also block popups based on events specified in the Popup Filter dialog box.

See Also

Other Resources

Internet Explorer Browser Control Host Application Development