int CBCGPEditCtrl::LineIndex | ( | int | nLine = -1 | ) | const |
Retrieves the character index of the line.
Call this function to retrieve the character index of a line within this CBCGPEditCtrl object. The character index is the number of characters from the beginning of the edit control to the specified line.
nLine | Contains the index value for the desired line in the text of the edit control, or contains -1. If nLine is -1, it specifies the current line, that is, the line that contains the caret. |