This interface is the primary means by which an embedded object obtains information about the location and extent of its display site, moniker, user interface, and other resources provided by its container. An object server calls IOleClientSite to request services from the container. A container must provide one instance of IOleClientSite for every compound document object it contains.
At a Glance
Header file: | Oleidl.h |
Windows CE versions: | 2.0 and later |
Method | Description |
IOleClientSite::GetContainer | Requests a pointer to an object’s container. |
IOleClientSite::GetMoniker | Requests an object’s moniker. |
IoleClientSite::OnShowWindow | Notifies a container when an object becomes visible or invisible. |
IOleClientSite::RequestNewObjectLayout | Prompts a container to resize the display site. |
IOleClientSite::SaveObject | Saves an embedded object. |
IOleClientSite::ShowObject | Prompts a container to display an object. |