Freigeben über


IOleInPlaceComponentUIManager Interface

Definition

Enables the menus, toolbars, and commands of existing VSPackage objects to be integrated into and managed by the environment's SOleComponentUIManager service.

public interface class IOleInPlaceComponentUIManager
public interface class IOleInPlaceComponentUIManager
__interface IOleInPlaceComponentUIManager
[System.Runtime.InteropServices.Guid("5EFC7973-14BC-11CF-9B2B-00AA00573819")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IOleInPlaceComponentUIManager
[System.Runtime.InteropServices.Guid("5EFC7973-14BC-11CF-9B2B-00AA00573819")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IOleInPlaceComponentUIManager
[<System.Runtime.InteropServices.Guid("5EFC7973-14BC-11CF-9B2B-00AA00573819")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IOleInPlaceComponentUIManager = interface
[<System.Runtime.InteropServices.Guid("5EFC7973-14BC-11CF-9B2B-00AA00573819")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IOleInPlaceComponentUIManager = interface
Public Interface IOleInPlaceComponentUIManager
Attributes

Remarks

IOleInPlaceComponentUIManager is one of two interfaces provided by this service; the other is IOleComponentUIManager. Enables the menus, toolbars, and commands of existing VSPackage objects to be integrated into and managed by the environment's SOleComponentUIManager service. IOleInPlaceComponentUIManager is one of two interfaces provided by this service; the other is IOleComponentUIManager.

In-place VSPackage objects typically access IOleInPlaceComponentUIManager by calling QueryService and requesting SIID_SOleComponentUIManager on their in-place site. Subcomponents typically delegate this call to the IServiceProvider implementation on their site.

Notes to Implementers

The environment implements IOleInPlaceComponentUIManager as part of its SOleComponentUIManager service.

Notes to Callers

In-place VSPackage objects call the methods of IOleInPlaceComponentUIManager to request the use of the SOleComponentUIManager service and to communicate state information.

Methods

FContinueIdle()

Queries the environment to determine if an in-place active object can continue idle time processing.

FOnUIComponentExitState(UInt32, UInt32, UInt32)

Queries the environment to determine if an in-place VSPackage object remains in a particular state.

FUIComponentInState(UInt32)

Queries the environment to determine if a particular state is still in effect.

OnUIComponentEnterState(UInt32, UInt32, UInt32)

Informs the environment that an in-place VSPackage object has entered a new state.

SetActiveUI(UInt32, Guid, UInt32, Int32[])

Allows a UI active VSPackage object to change the menus, toolbars, or commands that are displayed on its behalf by the environment.

UIActivateForMe(UInt32, Guid, IOleInPlaceActiveObject, IOleCommandTarget, UInt32, Int32[])

Requests that the SOleComponentUIManager service participate in the activation or deactivation of an in-place VSPackage object.

UpdateUI(UInt32, Int32, UInt32)

Informs the environment that the state of an in-place VSPackage object's visible user interface has changed.

Applies to