2.2.6.13.2 Edit::GetLineCount

Description

Syntax

int GetLineCount( )const

Parameters

Return

Examples

EX1

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

#define IDC_EDIT1 1001

void Edit_Edit_GetLineCount(Dialog& MyDlg)
{
	Edit ed = MyDlg.GetItem(IDC_EDIT1);
	int nCount = ed.GetLineCount();
}

Remark

See Also

Header to Include

Control.h