Hiding caret when selection exists?

General TRichView support forum. Please post your questions here
Post Reply
aoven
Posts: 45
Joined: Wed Nov 09, 2005 7:28 pm

Hiding caret when selection exists?

Post by aoven »

Is there a way to show the caret only when there is no selection? I'm thinking something along the lines of what Word does. I guess HideCaret/ShowCaret would be the way to go - the problem is where to put those calls to trap selection changes? OnSelect seems to be the place, but it fires far too often and also at unexpected times.

Of course this brings out another "problem". With caret gone, there is no visual indication on where the selection starts/ends if blank lines are involved. Word solves this by highlighting a small portion of the blank line. Is it possible to achieve the same result with TRichViewEdit?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

No, it's not supported
Post Reply