SECEditController::PosFromChar

CPoint SECEditController::PosFromChar(UINT nChar)

Retrieves the coordinates of the upper-left corner of a specified character index.

Defined in: SECEditControllerCEditEmul.cpp

Return Value

The coordinates of the top-left corner of the character specified by nChar.

Parameters

nChar

The zero-based index of the specified character.

Remarks

Call this function to get the position (top-left corner) of a given character within this CEdit object. The character is specified by giving its zero-based index value. If nChar is greater than the index of the last character in this CEdit object, the return value specifies the coordinates of the character position just past the last character in this CEdit object.

Developer Notes

This method is provided as a part of the Objective Edit CEdit compatiblity layer.

See Also

SECEditController