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.

Inheritance

The IOleControlSite interface inherits from the IUnknown interface. IOleControlSite also has these types of members:

Methods

The IOleControlSite interface has these methods.

 
IOleControlSite::GetExtendedControl

Retrieves an IDispatch pointer to the extended control that the container uses to wrap the real control.
IOleControlSite::LockInPlaceActive

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.
IOleControlSite::OnControlInfoChanged

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.
IOleControlSite::OnFocus

Indicates whether the control managed by this control site has gained or lost the focus.
IOleControlSite::ShowPropertyFrame

Instructs a container to display a property sheet for the control embedded in this site.
IOleControlSite::TransformCoords

Converts coordinates expressed in HIMETRIC units (as is standard in OLE) to the units specified by the container.
IOleControlSite::TranslateAccelerator

Passes a keystroke to the control site for processing.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header ocidl.h

See also

IOleClientSite

IOleControl

IOleInPlaceSite