Sets the current selection.
Call this function to select the text in the specifies range. If nEndSel is -1, the text is selected up to the end. If nStartSel is -1, the selection is removed.
- Parameters
-
nStartSel | Specifies the zero-based offset of the first selected character in the edit control. |
nEndSel | Specifies the zero-based offset of the last selected character in the edit control. |
bNoScroll | If TRUE, the edit control should not be scrolled to the first selected character. |
bRedraw | If TRUE the edit control will be redrawn. |