LineFromChar
int LineFromChar( int nIndex = -1 )const
EX1
#include <..\OriginLab\DialogEx.h> #define IDC_EDIT1 1001 void Edit_LineFromChar(Dialog& MyDlg) { Edit ed = MyDlg.GetItem(IDC_EDIT1); int nLine = ed.LineFromChar(); }
Control.h