Help Center

CRichEditCtx.SetEventMaskmethod

Windowsmethoddocumented

Syntax

FUNCTION SetEventMask (BYVAL fMask AS DWORD) AS HRESULT
Also documented as EventMask — one description covers them all.

Parameters

NameDescription
fMaskNew event mask for the rich edit control. For a list of event masks, see the following table.

Return value

(GET) The event mask for this rich edit control.

(SET) Returns the previous event mask. Call the (GET) EventMask property to check if the value has changed.

Description

Gets/sets the event mask for a rich edit control. The event mask specifies which notification messages the control sends to its parent window.

Remarks

The default event mask is ENM_NONE in which case no notifications are sent to the parent window.

Example

(GET) PROPERTY EventMask () AS DWORD (SET) PROPERTY EventMask (BYVAL fMask AS DWORD)

Reference

  • Defined in AfxNova/CRichEditCtx.inc:1208
  • Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
  • Topic: CRichEditCtx Class