SOleComponentUIManager Interface
Passed to GetService to return a reference to an IOleComponentUIManager or IOleInPlaceComponentUIManager interface.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Déclaration
<GuidAttribute("5EFC7974-14BC-11CF-9B2B-00AA00573819")> _
<GuidAttribute("5EFC7974-14BC-11CF-9B2B-00AA00573819")> _
Public Interface SOleComponentUIManager
'Utilisation
Dim instance As SOleComponentUIManager
[GuidAttribute("5EFC7974-14BC-11CF-9B2B-00AA00573819")]
[GuidAttribute("5EFC7974-14BC-11CF-9B2B-00AA00573819")]
public interface SOleComponentUIManager
[GuidAttribute(L"5EFC7974-14BC-11CF-9B2B-00AA00573819")]
[GuidAttribute(L"5EFC7974-14BC-11CF-9B2B-00AA00573819")]
public interface class SOleComponentUIManager
public interface SOleComponentUIManager
Remarks
As an extension to OLE in-place activation, the SOleComponentUIManager allows VSPackages to seamlessly integrate menus, toolbars, and commands into the VS environment and to operate without having to participate in standard OLE menu merging. Whereas in the past, only the innermost in-place active object and the outermost container could handle commands, the SOleComponentUIManager service enables three levels of command handling participation:
The host frame controlled by the environment
A VSPackage component contained within the host frame
An in-place object embedded in the component.
SOleComponentUIManager allows a VSPackage component to display messages, show context menus, and access status bar functionality.
The SOleComponentUIManager service is complimentary to SVsUIShell, and they are often both used together. However, SOleComponentUIManager is a host independent service that is not specific to the VS environment.