LPOLECLIENTSITE GetClientSite( );
Return Value
A pointer to the control's current client site in its container.
Remarks
Call this function to query an object for the pointer to its current client site within its container.
The returned pointer points to an instance of IOleClientSite. The IOleClientSite interface, implemented by containers, is the object’s view of its context: where it is anchored in the document, where it gets its storage, user interface, and other resources.