IUIAutomationScrollPattern::CachedHorizontallyScrollable Property
Retrieves a cached value that specifies whether the UI Automation element can scroll horizontally.
Syntax
HRESULTÂ IUIAutomationScrollPattern::get_CachedHorizontallyScrollable(BOOLÂ *retVal);
Parameters
- retVal
The address of a variable that receives the cached value: TRUE if the element can scroll horizontally, otherwise FALSE.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
This property can be dynamic. For example, the content area of the element might not be larger than the current viewable area, meaning that the property is FALSE. However, resizing the element or adding child items can increase the bounds of the content area beyond the viewable area, making the property TRUE.
See Also