Slider bar control volume

Hey All, How do you display a slider bar on a screen to adjust the volume settings? Thank You