trichview.com

trichview.support




CaretMove and Focus.


Return to index


Author

Message

Jaepil Kim

Posted: 02/03/2004 9:27:44


Hello


I have a number of RichViewEditors in a scroll box.


When i switch focus betwenn those editors i have a

problem with caret position.


When one of the eidtor gets the focus with MouseClick,

OnCaretMove event is called 4 times. But if the editor

is focused with Tab key, the event is called 3 times.


At the first OnCretMove event, initiated by mouse click,

GetCaretPos returned the previous position. While rest

events retruned the new position.


I would like to know why OnCaretMove event is called

so many times. Also want to know if I can get the new

caret position all the time regardless how the editor

gets the focus.



Thanks for your help.





Powered by ABC Amber Outlook Express Converter