IScrollItemProvider::ScrollIntoView Method

Scrolls the content area of a container object in order to display the control 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 will not guarantee the position of the control within the visible region (viewport) of the container.

See Also

UI Automation Providers Overview