The RTEXT resource-definition statement creates a right-aligned text control. The control is a simple rectangle displaying the given text right-aligned in the rectangle. The text is formatted before it is displayed. Words that would extend past the end of a line are automatically wrapped to the beginning of the next line.
RTEXT text, id, x, y, width, height [[, style [[, extended-style]]]]
If you do not specify a style, the default style is SS_RIGHT | WS_GROUP.
For more information on the text, id, x, y, width, height, style, and extended-style parameters, see Common Control Parameters.
The following example demonstrates the use of the RTEXT statement:
RTEXT "Number of Messages", 4, 30, 50, 100, 10