C
void SldSetRange( SLIDER * pSld, SHORT newRange );
Overview
This sets the range of the thumb. If this field is changed Object must be completely redrawn to reflect the change.
Input Parameters
Input Parameters |
Description |
SLIDER * pSld |
Pointer to the object. |
SHORT newRange |
Value of the new range used. |
Returns
None.
Preconditions
none
Side Effects
Position of the thumb may change when redrawn.
Example
SLIDER *pSld;
SldSetRange(pSld, 100);
// to completely redraw the object when GOLDraw() is executed.
SetState(pSld, SLD_DRAW);