+-1-+ >>-aSliderControl~SetMax(--max--,--+---+--)-------------------->< +-0-+
The SetMax method sets the maximum logical position for a slider and redraws the slider, if required.
The arguments are:
The maximum position of the slider.
The redraw flag. If you specify 1 or omit this argument, the slider is redrawn after the maximum position is set. If you specify 0, the slider is not redrawn.
The maximum position was set successfully.
You omitted min.