ScrollItemPattern_ScrollIntoView Function
Note This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.
Scrolls the content area of a container object in order to display the UI Automation element within the visible region (viewport) of the container.
Syntax
HRESULT ScrollItemPattern_ScrollIntoView( HUIAPATTERNOBJECT hobj );
Parameters
- hobj
[in] The control pattern object.
Return Value
Returns S_OK if successful or an error value otherwise.
Remarks
This method does not guarantee the position of the UI Automation element within the visible region (viewport) of the container.
Function Information
Stock Implementation uiautomationcore.dll Custom Implementation No Header uiautomationcoreapi.h Import library uiautomationcore.lib Minimum operating systems Windows XP