| void CBCGPEditCtrl::GetSel | ( | int & | nStartChar, |
| int & | nEndChar | ||
| ) | const |
Returns the current selection range.
Call this function to retrieve the current selection range. The returned values are zero-based offsets from the beginning of text. It will be -1 if there is no selection.
| nStartChar | Selection start. |
| nEndChar | Selection finish. |