Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
long GetTextLength( );
Return Value
The length of the text in this CRichEditCtrl object.
Remarks
Call this function to retrieve the length of the text in this CRichEditCtrl object.
For more information, see in the Win32 documentation.
Example
// The pointer to my rich edit control.
extern CRichEditCtrl* pmyRichEditCtrl;
// Limit the rich edit controls text to the number of
// characters currently in it.
pmyRichEditCtrl->LimitText(pmyRichEditCtrl->GetTextLength());
CRichEditCtrl Overview | Class Members | Hierarchy Chart
See Also CRichEditCtrl::LimitText, CRichEditCtrl::GetLimitText