Hi Sergey,
Your sample code was great (Message #
871248) and the Win32 GetCaretPos() API function also works in the VFP editbox.
Unfortunately, like VFP's row() and col() functions, GetCaretPos() doesn't update itself when a user changes caret (cursor) position using the cursor keys or mouse.
So, what I think I'm looking for is a method or API call that will cause GetCaretPos() to resynch itself with the current position of the caret (cursor) after a user has moved it using the cursor keys or the mouse.
We're getting close ...
Ideas?
Thanks again,
Malcolm