ScrollAmount enumeration

Contains values that specify the direction and distance to scroll.

Syntax


enum ScrollAmount {
  ScrollAmount_LargeDecrement, 
  ScrollAmount_SmallDecrement, 
  ScrollAmount_NoAmount, 
  ScrollAmount_LargeIncrement, 
  ScrollAmount_SmallIncrement 

};

Constants

ScrollAmount_LargeDecrement

Scrolling is done in large decrements, equivalent to pressing the PAGE UP key or clicking on a blank part of a scroll bar. If one page up is not a relevant amount for the control and no scroll bar exists, the value represents an amount equal to the current visible window.

ScrollAmount_SmallDecrement

Scrolling is done in small decrements, equivalent to pressing an arrow key or clicking the arrow button on a scroll bar.

ScrollAmount_NoAmount

No scrolling is done.

ScrollAmount_LargeIncrement

Scrolling is done in large increments, equivalent to pressing the PAGE DOWN or PAGE UP key or clicking on a blank part of a scroll bar. If one page is not a relevant amount for the control and no scroll bar exists, the value represents an amount equal to the current visible window.

ScrollAmount_SmallIncrement

Scrolling is done in small increments, equivalent to pressing an arrow key or clicking the arrow button on a scroll bar.

Remarks

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

UIAutomationCore.h (include UIAutomation.h)

See also

IScrollProvider

 

 

Show: