Share via


IOleControlNavigation2::GetCurrentRectIndex (Windows Embedded CE 6.0)

1/6/2010

The browser calls this method to obtain the position of the current focus rectangle.

Syntax

HRESULT STDMETHODCALLTYPE GetCurrentRectIndex(
  DWORD __RPC_FAR* current
);

Parameters

  • current
    [out] Points to an integer that is the index of the current rectangle in the array that was specified in GetNavigationRects.

Return Value

S_OK indicates success.

S_FALSE indicates that there are no navigation rectangles or that none are active.

Remarks

The index specifies the position of the current FocusRect. This method is not called if the navigation 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

IOleControlNavigation2