Compartilhar via


Using the Popup Blocker Interfaces (Windows CE 5.0)

Send Feedback

The following list shows the interfaces that Microsoft Windows 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

Internet Explorer Browser Control Host Application Development

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.