SECEditController::PointToLineCol

Converts a logical point to a line and column coordinate.

Defined in: SECEditController.cpp

Syntax

SECEditLineCol PointToLineCol(CPoint& point, BOOL bPreceedTab = TRUE) const;

SECEditLineCol PointToLineCol(CPoint& point, CDC* pDC, BOOL bPreceedTab = TRUE) const;

Return Value

SECEditLineCol

Parameters

point

The logical point in the viewport.

pDC

The device context for the point.

bPreceedTab

Indicates whether the column position returned should preceed a tab if the point given is within a tab.

See Also

SECEditController  LineColToPoint