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.
HRESULT SetClientSite( IOleClientSite* pClientSite );
Header file: | Atlctl.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
IOleObjectImpl Overview, IOleObjectImpl Methods, IOleObject::SetClientSite