PyCRichEditCtrl.SetSel

SetSel(start, end)

Sets the selection in the edit control.

Parameters

start : int

Specifies the starting position. If start is 0 and end is -1, all the text in the edit control is selected. If start is -1, any current selection is removed.

end=start : int

Specifies the ending position.

Alternative Parameters

start,end)

As for normal start, end args.

MFC References

CRichEditCtrl::SetSel