CRichEditCtrl::SetEventMask
Define a máscara de evento para essa CRichEditCtrl objeto.
DWORD SetEventMask(
DWORD dwEventMask
);
Parâmetros
- dwEventMask
A nova máscara de evento para essa CRichEditCtrl objeto.
Valor de retorno
A máscara de evento anterior.
Comentários
A máscara de evento especifica mensagens de notificação de que o CRichEditCtrl objeto envia a sua janela pai.
Para obter mais informações, consulte EM_SETEVENTMASK in the Windows SDK.
Exemplo
// 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);
Requisitos
Cabeçalho: afxcmn.h