Partager via


IOleControlNavigation2AdviseSink::OnFocusRectChange (Windows Embedded CE 6.0)

1/6/2010

This method notifies the browser that the focus rectangle has changed.

Syntax

HRESULT STDMETHODCALLTYPE OnFocusRectChange(
  RECT* newRect
); 

Parameters

  • newRect
    [in] Pointer to the new focus rectangle within the control.

Return Value

S_OK indicates success.

Remarks

When the navigation control notifies the browser that the focus rectangle has changed, the browser responds by scrolling the rectangle into view and, if appropriate, by drawing the focus rectangle. This method is called only when the control is responsible for navigation.

Requirements

Header mshtmhst.idl, mshtml.h
Library mshtml.dll
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

IOleControlNavigation2AdviseSink