Udostępnij za pośrednictwem


IOleComponentUIManager Interface

Definition

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.

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

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.

Methods

Deleted1()

Reserved for future use. Do not use.

Deleted2()

Reserved for future use. Do not use.

OnUIEvent(UInt32, Guid, Guid, UInt32, UInt32, UInt32, RECT[], Object)

Informs the SOleComponentUIManager service of a UI event.

OnUIEventProgress(UInt32, Int32, String, UInt32, UInt32)

Requests the display of a progress indicator during a long-term operation.

SetStatus(String, UInt32)

Specifies the status text message for the environment's status bar.

ShowContextMenu(UInt32, Guid, Int32, POINTS[], IOleCommandTarget)

Requests the display of a context menu.

ShowHelp(UInt32, Guid, POINT, UInt32, String, UInt32)

Requests the display of Help information.

ShowMessage(UInt32, Guid, String, String, String, UInt32, OLEMSGBUTTON, OLEMSGDEFBUTTON, OLEMSGICON, Int32, Int32)

Requests the display of a modal message.

Applies to