RichEdit_SetEventMaskfunction
Sets the event mask for a rich edit control.
Syntax
FUNCTION RichEdit_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 RichEdit_GetEvenMask and RichEdit_SetEventMask messages.
Reference
- Defined in AfxNova/AfxRichEdit.inc:825
- Documented in Windows/WIndows Controls/RichEdit/RichEdit Procedures.md
- Topic: RichEdit Procedures