Compartilhar via


IOleComponentUIManager Interface

The IOleComponentUIManager interface gives in-place VSPackage objects access to a variety of user interface functionality supplied by the environment such as message display, context menus, and the status bar.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<GuidAttribute("5EFC7972-14BC-11CF-9B2B-00AA00573819")> _
<InterfaceTypeAttribute()> _
Public Interface IOleComponentUIManager
[GuidAttribute("5EFC7972-14BC-11CF-9B2B-00AA00573819")]
[InterfaceTypeAttribute()]
public interface IOleComponentUIManager
[GuidAttribute(L"5EFC7972-14BC-11CF-9B2B-00AA00573819")]
[InterfaceTypeAttribute()]
public interface class IOleComponentUIManager
[<GuidAttribute("5EFC7972-14BC-11CF-9B2B-00AA00573819")>]
[<InterfaceTypeAttribute()>]
type IOleComponentUIManager =  interface end
public interface IOleComponentUIManager

The IOleComponentUIManager type exposes the following members.

Methods

  Name Description
Public method Deleted1 Reserved for future use. Do not use.
Public method Deleted2 Reserved for future use. Do not use.
Public method OnUIEvent Informs the SOleComponentUIManager service of a UI event.
Public method OnUIEventProgress Requests the display of a progress indicator during a long-term operation.
Public method SetStatus Specifies the status text message for the environment's status bar.
Public method ShowContextMenu Requests the display of a context menu.
Public method ShowHelp Requests the display of Help information.
Public method ShowMessage Requests the display of a modal message.

Top

Remarks

This is one of two interfaces implemented by the SOleComponentUIManager service; the other is IOleInPlaceComponentUIManager. This interface gives in-place VSPackage objects access to a variety of user interface functionality supplied by the environment such as message display, context menus, and the status bar.

Notes to Callers

VSPackage objects implemented either as OLE in-place objects, ActiveX controls, or document data objects call the methods of this interface to communicate changes that affect the user interface.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace