COleControl::ThrowError

Call this member function to signal that an error has occurred in an ActiveX control.

Syntax

void ThrowError( SCODE sc, UINT nDescriptionID, UINT nHelpID = -1 );

void ThrowError( SCODE sc, LPCTSTR pszDescription = NULL, UINT nHelpID = 0 );

At a Glance

Header file: Afxctl.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

COleControl Overview, COleControl Member Functions, Control Classes, COleControl::FireError, COleControl::DisplayError