ISECEditPresentationState::PointToLineCol
Retrieves the line and column indices for the given logical point in the viewport, and adjusts the point to the upper left corner of the character cell.
Defined in: ISECEditPresentationState.h
Syntax
SECEditLineCol PointToLineCol(CPoint& point, BOOL bPreceedTab = TRUE) const;SECEditLineCol PointToLineCol(CPoint& point, CDC* pDC, BOOL bPreceedTab = TRUE) const;
Return Value
SECEditLineCol
Parameters
point
Input/output parameter. Contains the logical point to convert to line/column indices. The point is adjusted to the upper left corner of the characer cell.
pDC
Points to the device context object for the point.
bPreceedTab
If non-zero, retrieves the column column index before a tab if the point is located within a tab. If zero, retrieves the column index after the tab.
See Also