Huw Davies : riched20: Use ME_PointFromChar to calculate the caret position .