CreateText(WindowNumber, ControlNumber, x, y, Width, Height, Style)

Create a Text control on a defined window, style define attributes of control, you can use #VMB_TEXT_DEFAULT to create it as default style. Other constants to define the style are: #VMB_STATIC_RIGHT, text is right aligned.
#VMB_STATIC_BORDER, control have a border.