AfxThrowUserException

Throws an exception to stop an end-user operation.

void AfxThrowUserException( );

Remarks

This function is normally called immediately after AfxMessageBox has reported an error to the user.

Requirements

Header: afxwin.h

See Also

Concepts

MFC Macros and Globals

CUserException Class

THROW (MFC)

AfxMessageBox