+-0---+                 +-0------+
                                 +-min-+     +-max-+     +-redraw-+

The InitSelRange method sets the starting and ending logical positions for the current selection range in a slider. It is ignored if the slider does not have a selection range.


The arguments are:


The logical starting position of the selection range. The default is 0.


The logical ending position of the selection range. If you omit this argument, the maximum position of the slider's range is assumed.


The redraw flag. If you specify 1, the slider is redrawn after the selection range is set. If you specify 0 or omit this argument, the selection range is set but the slider is not redrawn.

Return value:


The minimum you specified is greater than the maximum.


In all other cases.