IOleClientSite interface (oleidl.h)
Provides the primary means by which an embedded object obtains information about the location and extent of its display site, its moniker, its 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.
The IOleClientSite interface inherits from the IUnknown interface. IOleClientSite also has these types of members:
The IOleClientSite interface has these methods.
Retrieves a pointer to the object's container.
Retrieves a moniker for the object's client site. An object can force the assignment of its own or its container's moniker by specifying a value for dwAssign.
Notifies a container when an embedded object's window is about to become visible or invisible. This method does not apply to an object that is activated in place and therefore has no window separate from that of its container.
Asks a container to resize the display site for embedded objects.
Saves the embedded object associated with the client site. This function is synchronous; by the time it returns, the save will be completed.
Asks a container to display its object to the user. This method ensures that the container itself is visible and not minimized.
|Minimum supported client||Windows 2000 Professional [desktop apps | UWP apps]|
|Minimum supported server||Windows 2000 Server [desktop apps | UWP apps]|