Windows Dev Center

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::VerticalScrollPercent property

Specifies the vertical scroll position.

This property is read-only.

Syntax


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

Property value

Type: double*

The vertical scroll position, expressed as a percentage of the total content area within the control. This parameter is passed uninitialized.

Remarks

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

Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

See also

Reference
IScrollProvider
HorizontalScrollPercent
Conceptual
UI Automation Providers Overview

 

 

Community Additions

Show:
© 2015 Microsoft