CRichEditCtrl::SetEventMask
설정 이벤트 마스크에 대 한 CRichEditCtrl 개체입니다.
DWORD SetEventMask(
DWORD dwEventMask
);
매개 변수
- dwEventMask
이 대 한 새 이벤트 마스크 CRichEditCtrl 개체입니다.
반환 값
이전 이벤트 마스크입니다.
설명
알림 메시지를 지정 하는 이벤트 마스크는 CRichEditCtrl 개체의 부모 창에 보냅니다.
자세한 내용은 EM_SETEVENTMASK 에 있는 Windows SDK.
예제
// 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);
요구 사항
헤더: afxcmn.h