CException::ReportError

Call this member function to report error text in a message box to the user.

Syntax

virtual int ReportError( UINT nType = MB_OK, UINT nMessageID = 0 );

At a Glance

Header file: Afx.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CException Overview, CException Member Functions, Exception Classes, CException::GetErrorMessage