SECStdMenuBtn Class
class SECStdMenuBtn
The SECStdMenuBtn class is derived from SECStdBtn. It provides a method to have a toolbar button display a popup menu instead of executing one command.
Defined in: stdmenubtn.h
Comments
A SECStdMenuBtn is instantiated by implementing the STD_MENU_BUTTON macro in BUTTON_MAP macro used by the custom toobar framework.
See Also
SECStdBtn SECCustomToolBar SECToolBarManager
Class Members
Operations
CMenu* GetMenu()
Returns a CMenu pointer to the button submenu.
void SetNewMenu(UINT nNewResID, UINT nSubmenu = 0, UINT nTrackStyle = TPM_LEFTALIGN)
Sets the popup menu for the button.