EM_CHARFROMPOS message lParam should 4 Byte, CPoint is 8 Byte MAKELPARAM(x, y); //use this to replace CPoint
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)