IOleObjectImpl::SetClientSite

This method uses pClientSite as the pointer to the control's client site and stores pClientSite in the control class data member m_spClientSite. The method then returns S_OK.

Syntax

HRESULT SetClientSite( IOleClientSite* pClientSite );

At a Glance

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

See Also

IOleObjectImpl Overview, IOleObjectImpl Methods, IOleObject::SetClientSite