Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
virtual void OnTextNotFound( LPCTSTR lpszFind );
Parameters
pszFind
The text which was not found.
Remarks
Called by the framework whenever a search fails. Override this function to change the output notification from a .
For more information, see in the Win32 documentation.
Example
void CMyRichEditViewTestView::OnTextNotFound( LPCTSTR lpszFind )
{
// Replace the beep with a message box
TCHAR *lpszMsg = " was not found.";
TCHAR *lpszBuf = new TCHAR[_tcslen(lpszMsg) + _tcslen(lpszFind)];
wsprintf( lpszBuf, "%s %s", lpszFind, lpszMsg );
AfxMessageBox( lpszBuf );
}
CRichEditView Overview | Class Members | Hierarchy Chart
See Also CRichEditView::FindText, CRichEditView::FindTextSimple, CRichEditView::OnFindNext