次の方法で共有


SOleComponentUIManager Interface

Definition

Passed to GetService(Type) to return a reference to an IOleComponentUIManager or IOleInPlaceComponentUIManager interface.

public interface class SOleComponentUIManager
public interface class SOleComponentUIManager
__interface SOleComponentUIManager
[System.Runtime.InteropServices.ComVisible(false)]
[System.Runtime.InteropServices.Guid("5EFC7974-14BC-11CF-9B2B-00AA00573819")]
public interface SOleComponentUIManager
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Runtime.InteropServices.Guid("5EFC7974-14BC-11CF-9B2B-00AA00573819")>]
type SOleComponentUIManager = interface
Public Interface SOleComponentUIManager
Attributes

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.

Applies to