COleControl::AmbientDisplayName
The name the container has assigned to the control can be used in error messages displayed to the user.
CString AmbientDisplayName( );
Return Value
The name of the OLE control. The default is a zero-length string.
Remarks
Note that the container is not required to support this property.
Requirements
Header: afxctl.h