The EM_SETEVENTMASK message sets the event mask for a rich edit control. The event mask specifies which notification messages the control sends to its parent window.
EM_SETEVENTMASK
wParam = 0;
lParam = (LPARAM) (DWORD) dwMask;
Returns the previous event mask.
The default event mask (before any is set) is ENM_NONE.
Windows NT: Requires version 3.51 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in richedit.h.
Rich Edit Controls Overview, Rich Edit Messages