2.2.6.13.5 Edit::LineFromChar

Description

Syntax

int LineFromChar( int nIndex = -1 )const

Parameters

nIndex

Return

Examples

EX1

#include <..\OriginLab\DialogEx.h>

#define IDC_EDIT1 1001

void Edit_LineFromChar(Dialog& MyDlg)
{
	Edit ed = MyDlg.GetItem(IDC_EDIT1);
	int nLine = ed.LineFromChar();
}

Remark

See Also

Header to Include

Control.h