How do i make widgets?

I want to create widgets(slidebars) in my program to adjust values.

I cant seem to find a command/tutorial to do this… any ideas?

Check out the GLUI library.