CRichEdit.SetEventMaskmethod
Sets the event mask for a rich edit control.
Syntax
FUNCTION SetEventMask (BYVAL hRichEdit AS HWND, BYVAL fMask AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
fMask | New event mask for the rich edit control. For a list of event masks, see Rich Edit Control Event Mask Flags below. |
Return value
This message returns the previous event mask.
Description
Sets the event mask for a rich edit control.
Remarks
The default event mask is ENM_NONE in which case no notifications are sent to the parent window. You can retrieve and set the event mask for a rich edit control by using the GetEvenMask and SetEventMask messages.
Reference
- Defined in AfxNova/CRichEdit.inc:1010
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class