return data type:
creates a slider, the default slider contains 16 steps and a max value of 16, using setSliderHMax or setSliderVMax can alter the max range from 0 to max.
Once created, it will return the location of where the object is stored in memory.
Getting the slider’s value would need to use getSliderValue
x – starting location on the X
y – starting location on the Y
width – width of a button
height – height of a button
flags – flags, horizontal OR vertical, but not both
hwnd – the window handle this slider’s is to be attached to! this will create the slider’s in the windows object list. NOT the windows list!