Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves a pointer to the menu button object that is currently displaying its sub-menu.
CMFCToolBarMenuButton* GetDroppedDownMenu(
int* pIndex = NULL
) const;
Parameters
- [out] pIndex
Receives the index of the button in the collection of toolbar buttons.
Return Value
A pointer to the menu button object that is displaying its sub-menu or NULL if no menu is displaying its sub-menu.
Remarks
If this method returns a non-NULL value and pIndex is not NULL, the value pointed to by pIndex is set to the index of the menu button in the collection of toolbar buttons.
Requirements
Header: afxtoolbar.h