IOleControlSite interface (ocidl.h)
Provides the methods that enable a site object to manage each embedded control within a container. A site object provides IOleControlSite as well as other site interfaces such as IOleClientSite and IOleInPlaceSite. When a control requires the services expressed through this interface, it will query one of the other client site interfaces for IOleControlSite.
The IOleControlSite interface inherits from the IUnknown interface. IOleControlSite also has these types of members:
The IOleControlSite interface has these methods.
Retrieves an IDispatch pointer to the extended control that the container uses to wrap the real control.
Indicates whether a control should remain in-place active. Calls to this method typically nest an event to ensure that the object's activation state remains stable throughout the processing of the event.
Informs the container that the control's CONTROLINFO structure has changed and that the container should call the control's IOleControl::GetControlInfo for an update.
Indicates whether the control managed by this control site has gained or lost the focus.
Instructs a container to display a property sheet for the control embedded in this site.
Converts coordinates expressed in HIMETRIC units (as is standard in OLE) to the units specified by the container.
Passes a keystroke to the control site for processing.
|Minimum supported client||Windows 2000 Professional [desktop apps | UWP apps]|
|Minimum supported server||Windows 2000 Server [desktop apps | UWP apps]|