void AFXAPI DDV_MinMaxSlider( CDataExchange* pDX, DWORD value, DWORD minVal, DWORD maxVal );
Parameters
pDX
A pointer to a CDataExchange object. The framework supplies this object to establish the context of the data exchange, including its direction.
value
A reference to the value to be validated. This parameter holds or sets the slider control’s current thumb position.
minVal
Minimum value allowed.
maxVal
Maximum value allowed.
Remarks
Call DDV_MinMaxSlider to verify that the value in the control associated with value falls between minVal and maxVal.
For more information about DDV, see Adding a Dialog Box in Visual C++ Tutorials and Dialog Data Exchange and Validation in Visual C++ Programmer’s Guide. For information about slider controls, see Using CSliderCtrl in Visual C++ Programmer’s Guide.
See Also DDX_Slider, DDX_FieldSlider