Home » ZPAD 4.0 » The Operating System » Functions » CreateSlider


      [short x, short y, short w, short h, unsigned long flags, const unsigned long *hwnd]

return data type:
      unsigned long.


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


none. Yes

The Flags

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!



ChatClick here to chat!+