BOOL CBCGPEditCtrl::OffsetToPoint | ( | int | nOffset, |
CPoint & | pt, | ||
LPPOINT | ptRowColumn = NULL , |
||
LPINT | pnScrollOffset = NULL |
||
) |
Given an offset from the beginning of text buffer returns a point in the client coordinates.
The returned point may have coordinates outside of the client area if the symbol at the specified offset is not on the current page.
nOffset | The offset from the beginning of the text buffer. |
pt | Out parameter. When the function returns it will contain the client coordinates of the symbol. |
ptRowColumn | Out parameter. When the function returns will contain the column and row of the symbol. Can be NULL. |
pnScrollOffset | Out parameter. When the function returns will contain horizontal and vertical scroll offsets of the symbol. Can be null. |