TRichEdit, selection start

2003-09-17 01:20:31 PM
I want to find out if text in TRichEdit component is selected from
bottom to top OR selected from top to bottom.
I thought caret position (CaretPos) would indicate the last selected
character, but instead it indicated the SelStart + SelLength.
Can you tell me a way to detect it?