共用方式為


CEditView::GetBufferLength

Call this member function to obtain the number of characters currently in the edit control's buffer, not including the null terminator.

UINT GetBufferLength( ) const;

Return Value

The length of the string in the buffer.

Requirements

Header: afxext.h

See Also

Concepts

CEditView Class

CEditView Members

Hierarchy Chart

CEditView::LockBuffer

CEditView::UnlockBuffer