IMenuBand interface (shobjidl_core.h)
[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.
Inheritance
The IMenuBand interface inherits from the IUnknown interface. IMenuBand also has these types of members:
Methods
The IMenuBand interface has these methods.
IMenuBand::IsMenuMessage A message pump calls this method to see if any messages should be redirected to the Component Object Model (COM) object. |
IMenuBand::TranslateMenuMessage Translates a message for a Component Object Model (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_SMenuBandChild | Retrieves the pointer to the IMenuBand interface for the submenu. |
SID_SMenuBandParent | Retrieves the pointer to the IMenuBand interface for the parent menu. |
SID_SMenuBandTop | Retrieves 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
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για