protocol:
function parameters:
structure containing control templateresult:
WINCTL object description:
ctl = build_control(tmpl)
produce a control 'ctl' from the description 'tmpl' (where tmpl is a structure defining the control)
example:
below is a typical control templatetmpl . type = "button"
tmpl . control_name = "button_3524"
tmpl . background_colour = 26
tmpl . caption = "EDIT"
tmpl . x = 440
tmpl . y = 161
tmpl . width = 65
tmpl . height = 25
tmpl . left_follows = "left"
tmpl . top_follows = "top"
tmpl . right_follows = "left"
tmpl . bottom_follows = "top"
tmpl . pressed_func_name = "open_proc_edit_dialog_func"