IMenuBand interface

[This interface is supported through Windows XP Service Pack 2 (SP2) and Windows Server 2003. It might be unsupported in subsequent versions of Windows.]

Exposes methods that allow a Component Object Model (COM) object to receive and translate appropriate messages.

Members

The IMenuBand interface inherits from the IUnknown interface. IMenuBand also has these types of members:

Methods

The IMenuBand interface has these methods.

MethodDescription
IsMenuMessage

A message pump calls this method to see if any messages should be redirected to the COM object.

TranslateMenuMessage

Translates a message for a COM object.

 

Remarks

An application can call QueryService with one of the following service IDs. If the riid parameter of QueryService is IAccessible or IDispatch, the call to QueryService creates a new accessibility object. Otherwise, the call to QueryService is equivalent to a call to QueryInterface with the service ID, as follows:

Service ID (SID)Meaning
SID_SMenuBandChildRetrieves the pointer to the IMenuBand interface for the submenu.
SID_SMenuBandParentRetrieves the pointer to the IMenuBand interface for the parent menu.
SID_SMenuBandTopRetrieves the pointer to the IMenuBand interface for the top menu.

 

In Windows 2000, this interface was implemented in browseui.dll. However, it is not recommended that this version be used.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft