MAX

Determines the maximum limit for a dialog element's (numeric) range. Because both MIN and MAX attributes default to zero, it is necessary to explicitly specify a value for one or both of these attributes in order to ensure that the dialog element has a non-zero range.

Note:
The difference between the values of the MAX and MIN attributes must be less than 32767.

Applies to Progress bar control, scrollbar control, slider control, spin control.
Data Type I4
Default Value 0
Possible Values 0 or any integer value between -32767 and 32767; must be larger than the value of the MIN attribute.