EM_SETEVENTMASK message

Sets the event mask for a rich edit control. The event mask specifies which notification codes the control sends to its parent window.

Parameters

wParam

This parameter is not used; it must be zero.

lParam

New event mask for the rich edit control. For a list of event masks, see Rich Edit Control Event Mask Flags.

Return value

This message returns the previous event mask.

Remarks

The default event mask (before any is set) is ENM_NONE.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h

See also

Reference

EM_GETEVENTMASK

Rich Edit Control Event Mask Flags