CRichEditCtrl::SetEventMask
Imposta la maschera eventi per questo oggetto CRichEditCtrl.
DWORD SetEventMask(
DWORD dwEventMask
);
Parametri
- dwEventMask
La nuova maschera eventi per questo oggetto CRichEditCtrl.
Valore restituito
La maschera eventi precedente.
Note
La maschera eventi specifica che i messaggi di notifica l'oggetto CRichEditCtrl invia alla finestra padre.
Per ulteriori informazioni, vedere EM_SETEVENTMASK in Windows SDK.
Esempio
// Set the event mask so that the parent gets notified when the text
// of the rich edit control changes.
m_myRichEditCtrl.SetEventMask(m_myRichEditCtrl.GetEventMask() |
ENM_CHANGE);
Requisiti
Header: afxcmn.h