IMenuPopup::SetSubMenu method (shobjidl_core.h)
Sets the given menu bar interface to be the submenu of the calling application object's interface.
Syntax
HRESULT SetSubMenu(
[in] IMenuPopup *pmp,
BOOL fSet
);
Parameters
[in] pmp
Type: IMenuPopup*
A pointer to an IMenuPopup interface that specifies the menu bar of interest.
fSet
Type: BOOL
Removes the submenu if fSet is set to FALSE.
Return value
Type: HRESULT
Always returns S_OK.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP1 [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 ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για