import "AccessibleValue.idl";
Public Member Functions | |
HRESULT | currentValue ([out, retval] VARIANT *currentValue) |
Returns the value of this object as a number. | |
HRESULT | setCurrentValue ([in] VARIANT value) |
Sets the value of this object to the given number. | |
HRESULT | maximumValue ([out, retval] VARIANT *maximumValue) |
Returns the maximal value that can be represented by this object. | |
HRESULT | minimumValue ([out, retval] VARIANT *minimumValue) |
Returns the minimal value that can be represented by this object. |
The IAccessibleValue interface represents a single numerical value and should be implemented by any class that supports numerical value like progress bars and spin boxes. This interface lets you access the value and its upper and lower bounds.
|
Returns the value of this object as a number. The exact return type is implementation dependent. Typical types are long and double.
|
|
Returns the maximal value that can be represented by this object. The type of the returned value is implementation dependent. It does not have to be the same type as that returned by method IAccessibleValue::currentValue.
|
|
Returns the minimal value that can be represented by this object. The type of the returned value is implementation dependent. It does not have to be the same type as that returned by method IAccessibleValue::currentValue.
|
|
Sets the value of this object to the given number. The argument is clipped to the valid interval whose upper and lower bounds are returned by the methods IAccessibleValue::maximumValue and IAccessibleValue::minimumValue, i.e. if it is lower than the minimum value the new value will be the minimum and if it is greater than the maximum then the new value will be the maximum.
|