return OS.SendMessage (handle, OS.EM_CHARFROMPOS, 0, lParam) & 0xFFFF;
int position = OS.SendMessage (handle, OS.EM_CHARFROMPOS, 0, lParam) & 0xFFFF; if (!OS.IsUnicode && OS.IsDBLocale) position = mbcsToWcsPos (position); return position;
/*public*/ int getPosition (Point point) {	checkWidget();	if (point == null) error (SWT.ERROR_NULL_ARGUMENT);	int lParam = (point.x & 0xFFFF) | ((point.y << 16) & 0xFFFF0000);	return OS.SendMessage (handle, OS.EM_CHARFROMPOS, 0, lParam) & 0xFFFF;}