SetSelEnd

                                      +-1------+
>>-aSliderControl~SetSelEnd(--max--,--+--------+--)------------><
                                      +-redraw-+


The SetSelEnd method sets the logical ending position for the current selection range in a slider. It is ignored if the slider does not have a selection range.

Arguments:

The arguments are:

min

The logical ending position of the selection range.

redraw

The redraw flag. If you specify 1 or omit this argument, the slider is redrawn after the ending position has been set. If you specify 0, the ending position is set but the slider is not redrawn.

Return value:

-1

You omitted max.

0

In all other cases.