ScrollPattern_Scroll Function
Note This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.
Scrolls the currently visible region of the content area the specified ScrollAmount, horizontally, vertically, or both.
Syntax
HRESULT ScrollPattern_Scroll( HUIAPATTERNOBJECT hobj, ScrollAmount horizontalAmount, ScrollAmount verticalAmount );
Parameters
- hobj
[in] The control pattern object.- horizontalAmount
[in] The amount to scroll the container on the horizontal axis, as a percentage.- verticalAmount
[in] The amount to scroll the container on the vertical axis, as a percentage.
Return Value
Returns S_OK if successful or an error value otherwise.
Function Information
Stock Implementation uiautomationcore.dll Custom Implementation No Header uiautomationcoreapi.h Import library uiautomationcore.lib Minimum operating systems Windows XP