CEdit::GetLineCount

int GetLineCount( ) const;

Return Value

An integer containing the number of lines in the multiple-line edit control. If no text has been entered into the edit control, the return value is 1.

Remarks

Call this function to retrieve the number of lines in a multiple-line edit control.

GetLineCount is only processed by multiple-line edit controls.

For more information, see EM_GETLINECOUNT in the Win32 documentation.

CEdit OverviewClass MembersHierarchy Chart