[This is preliminary documentation and subject to change.]
Rich Edit 2.0 and later: Send an EM_GETTEXTMODE message to get the current text mode and undo level of a rich edit control.
Rich Edit 1.0: This message is not supported.
EM_GETTEXTMODE
wParam = 0 ; // not used; must be zero
lParam = 0 ; // not used; must be zero
The parameters are not used; they must be zero.
The return value is a set of bit flags from the TEXTMODE enumeration type. The flags indicate the current text mode and undo level of the control.
Windows NT: Requires version 4.0 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in richedit.h.
Rich Edit Controls Overview, Rich Edit Messages, EM_SETTEXTMODE, TEXTMODE