ScrollAmount Enumerated Type

Contains values that specify the direction and distance to scroll.

Syntax

typedef enum {
    ScrollAmount_LargeDecrement,
    ScrollAmount_SmallDecrement,
    ScrollAmount_NoAmount,
    ScrollAmount_LargeIncrement,
    ScrollAmount_SmallIncrement
} ScrollAmount;

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

Enumerated Type Information

Header uiautomationcore.h
Minimum operating systems Windows XP

See Also

IScrollProvider