Jump to content

MLM CHARFROMLINE

From EDM2

This message returns the first insertion point on a given line.

Syntax

param1
ULONG ulReserved;  /* Reserved value, should be 0. */

param2
ULONG ulReserved;  /* Reserved value, should be 0. */

Parameters

lLineNum (LONG) - input
Line number of interest.
ulReserved (ULONG) - input
Reserved value, should be 0.

Returns

iptFirst (IPT) - return
First insertion point on line.

Remarks=

For any line number, the insertion point just before the first character on that line is returned. If the line number is -1, the line containing the cursor is used.

The term line means a line on the display after the application of word-wrap. It does not mean a line as defined by the CR LF line-break sequence.

Default Processing

The default window procedure takes no action on this message, other than to set iptFirst to 0.