IUIAutomationScrollItemPattern::ScrollIntoView Method

Scrolls the content area of a container object to display the UI Automation element within the visible region (viewport) of the container.

Syntax

HRESULT ScrollIntoView(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method does not provide the ability to specify the position of the element within the viewport.