CRichEditCtrl::GetTextMode
Retrieves the current text mode and undo level of a rich edit control.
UINT GetTextMode( ) const;
Return Value
A set of bit flags from the TEXTMODE enumeration type, as described in the Windows SDK. The flags indicate the current text mode and undo level of the control.
Requirements
Header: afxcmn.h