End Google Ads 201810 - BS.net 01 --> Hello,

I used GetCaretPos() to get the caret/cursor position in the CRichEditCtrl box but I am not getting the proper position.

When the cursor is placed before the first character in the text and I
write the following code


CPoint Charpoint;
GetCaretPos(Charpoint);

The answer is
Charpoint.x = 8 Charpoint.y=0;

whereas Charpoint.x = 1 should be the answer

Which other function should I use.

Regards,
Pritha