Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the client area coordinates of a specified character in an edit control.
CPoint PosFromChar(
UINT nChar
) const;
Parameters
- nChar
The zero-based index of the character.
Return Value
The position of the character, (x, y). For a single-line edit control, the y-coordinate is always zero.
Remarks
For more information, see EM_POSFROMCHAR in the Windows SDK.
Requirements
Header: afxcmn.h