AfxThrowUserException 

void AfxThrowUserException( );

Remarks

Throws an exception to stop an end-user operation. This function is normally called immediately after AfxMessageBox has reported an error to the user.

See Also   CUserException, THROW, AfxMessageBox


Send feedback to MSDN.Look here for MSDN Online resources.