To create a ZealOS graphic ctrl, you define callback functions and insert a CCtrl structure in the CTask queue. See ::/Demo/Graphics/Slider.CC, ::/Demo/Graphics/ScrollBars.CC and TermBttnNew. There is a template-code ctrl generator, if you press <CTRL-SHIFT-L>.