Share via


Creating the Browser Control (Windows Embedded CE 6.0)

1/6/2010

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

Other Resources

Internet Explorer TV-Style Navigation Application Development