IMenuBand::IsMenuMessage method (shobjidl_core.h)
A message pump calls this method to see if any messages should be redirected to the Component Object Model (COM) object.
Syntax
HRESULT IsMenuMessage(
[in] MSG *pmsg
);
Parameters
[in] pmsg
Type: MSG*
A pointer to an MSG structure.
Return value
Type: HRESULT
This method can return one of these values.
Return code | Description |
---|---|
|
A message should be redirected to the COM object. The application should call IMenuBand::TranslateMenuMessage with this message. |
|
The menu has exited the menu mode and can be destroyed. |
Remarks
If this method returns S_OK, the message loop should not call TranslateMessage or DispatchMessage.
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) |
DLL | Shell32.dll |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για