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

CreateSlider

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

return data type:
      unsigned long.

description:

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.

usage:

Getting the slider’s value would need to use getSliderValue

NOTE:

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!

 

Catagories

ChatClick here to chat!+
Back