Unicode Controls & Classes for VB6 - Version 4

ctlUniRichTextBoxXP.eCtlRichTextBox_TextLength Enum

Contains information about how the text length of a rich edit control should be calculated

Values
Name Value Description
ercGTL_DEFAULT 0 Returns the number of characters. This is the default.
ercGTL_USECRLF 1 Computes the answer by using CR/LFs at the end of paragraphs.
ercGTL_PRECISE 2 Computes a precise answer. This approach could necessitate a conversion and thereby take longer. This flag cannot be used with the GTL_CLOSE flag. E_INVALIDARG will be returned if both are used.
ercGTL_CLOSE 4 Computes an approximate (close) answer. It is obtained quickly and can be used to set the buffer size. This flag cannot be used with the GTL_PRECISE flag. E_INVALIDARG will be returned if both are used.
ercGTL_NUMCHARS 8 Returns the number of characters. This flag cannot be used with the GTL_NUMBYTES flag. E_INVALIDARG will be returned if both are used.
ercGTL_NUMBYTES 16 Returns the number of bytes. This flag cannot be used with the GTL_NUMCHARS flag. E_INVALIDARG will be returned if both are used.
Remarks