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.

IRangeValueProvider::SmallChange property

Specifies the value that is added to or subtracted from the IRangeValueProvider::Value property when a small change is made, such as when an arrow key is pressed.

This property is read-only.

Syntax


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

Property value

Type: double*

The small-change value of the control, or NULL if the control does not support IRangeValueProvider::SmallChange. This parameter is passed uninitialized.

Remarks

The SmallChange property can support Not a Number (NaN) value. When returning a NaN value, the provider should return a quiet (non-signaling) NaN to avoid raising an exception if floating-point exceptions are turned on. The following example shows how to create a quiet NaN:


ULONGLONG ulNaN = 0xFFFFFFFFFFFFFFFF;
    *pRetVal = *reinterpret_cast<double*>(&ulNaN);

Alternatively, you can use the following function from the standard C++ libraries:


numeric_limits<double>::quiet_NaN( )

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

DLL

Uiautomationcore.dll

See also

IRangeValueProvider
UI Automation Providers Overview

 

 

Community Additions

Show:
© 2015 Microsoft