Graphisoft®

Dialog ManagerVersion: 2.0

RichEdit::GetText

Retrieves the text content of the richedit control.

long GetText (
    char *              text,
    long                size,
    EOLType             eolType = Default
) const;

Parameters

text
Pointer to a previously allocated char buffer. This can be NULL.
size
The size of the previously allocated char buffer. If the text is NULL, this is ignored.
eolType
The end-of-line-char type of the returned text.

Return Value

The text length (including the zero-terminator), or zero, if size is less than the size of the item text, or an error occurs.