Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IScrollProvider::HorizontalScrollPercent property

Specifies the horizontal scroll position.

This property is read-only.

Syntax


HRESULT get_HorizontalScrollPercent(
  [out, retval] double *pRetVal
);

Property value

Type: double*

The horizontal scroll position, expressed as a percentage of the total content area within the UI Automation element. This parameter is passed uninitialized.

Remarks

The horizontal scroll position can be reported as UIA_ScrollPatternNoScroll if no valid position is available; for example, if the window does not have a horizontal scroll bar.

Requirements

Minimum supported client

Windows XP [desktop apps | UWP apps]

Minimum supported server

Windows Server 2003 [desktop apps | UWP apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

See also

Reference
IScrollProvider
VerticalScrollPercent
Conceptual
UI Automation Providers Overview

 

 

Show:
© 2017 Microsoft