RTEXT Control

This resource-definition statement creates a simple rectangle displaying right-aligned text. 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.

Syntax

RTEXT text, id, x, y, width, height [[, style [[, extended-style]]]]

Parameters

style

Specifies styles for the text control, which can be either WS_TABSTOP or WS_GROUP, or both..

If you do not specify a style, the default style is SS_RIGHT | WS_GROUP.

Example

The following code example shows how to use the RTEXT statement.

RTEXT "Number of Messages", 4, 30, 50, 100, 10 
 

See Also

CONTROL, CTEXT, DIALOG, LTEXT