trichview.support
Re: Obtaining the coordinates of caret ? |
Author |
Message |
Sergey Tkachenko |
Posted: 05/05/2002 19:30:22 Spellchecking dialog is usually displayed when some "wrong" word is selected. You can use RichView.GetSelectionRect function which returns screen coordinates of selection (this function is slightly rough, but acceptable for positioning a dialog). (it is used in parsers for Addict spellchecker) > I am incorporating the spellcheck engine into application which uses RichViewEdit. > I need to automaticaly position the spellchecker's dialog in such way that > it does not cover the word which we are proccessing in RichViewEdit . The > proccessed word is selected and the caret is positioned on it. If I get the > caret's coordinates somehow in order to be able to do it. > Is there a function in RichViewEdit which tells the caret coordinates (or > some other approach is needed)? > |
Powered by ABC Amber Outlook Express Converter