Compartilhar via


Creating the Browser Control (Windows CE 5.0)

Send Feedback

The browser implements the IOleControlNavigation2AdviseSink interface to receive notifications from the navigation control of changes relating to navigation.

Managing Navigation with the Browser

The navigation control calls OnRectsChange to notify the Browser that the navigation rectangles have changed. The browser responds by calling the GetNavigationRectCount and GetNavigationRects methods of the IOleControlNavigation2 interface to get information on the new rectangles.

Managing Navigation with the Navigation Control

The navigation control calls OnFocusRectChange to notify the browser that a new focus rectangle has been selected and that the browser should scroll it into view if necessary.

If the user tries to navigate outside the boundary of the control, the control notifies the browser by calling NavigateOutControl with the rectangle that currently has focus. If there is no selectable area outside the control, the browser returns S_FALSE and the control disregards the user input and maintains focus. A control can also inform the browser of a change in its ability to accept and maintain the focus by calling OnNavigationStatusChange.

See Also

Internet Explorer TV-Style Navigation Application Development

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.