This method determines the mode of the container.
BOOL AmbientUserMode( );
COleControl::AmbientUIDead