RichEdit::GetLineFromPosition
long GetLineFromPosition (long charPosition) const;
Parameters
- charPosition
Zero-based position of the character. These predefined values can be used as well: Value Meaning DG_REP_TEXTBEGIN The first character of the text. DG_REP_TEXTEND The last character of the text.