CRichEditView::OnTextNotFound
검색에 실패할 때마다 프레임 워크에서 호출 됩니다.
virtual void OnTextNotFound(
LPCTSTR lpszFind
);
매개 변수
- lpszFind
찾을 텍스트입니다.
설명
출력 알림을 변경 하려면이 함수를 재정의 하 여 MessageBeep.
자세한 내용은 MessageBeep 에 있는 Windows SDK.
예제
void CMyRichEditView::OnTextNotFound(LPCTSTR lpszFind)
{
// Replace the beep with a message box
CString str;
str.Format(_T("'%s' was not found."), lpszFind);
AfxMessageBox(str);
}
요구 사항
헤더: afxrich.h