How to manually show CMFCToolBarComboBoxButton sub-menu?
问题 Standard behaviour for CMFCToolBarComboBoxButton is to have a clickable button plus a drop-down arrow for displaying a submenu. I want to show the submenu independently of where the click was made. How can I do it? My code to create the button is, more or less, the following (it has been extracted from a larger project, so I apologize for any missing not-too-important piece of code): // In class declaration: CMenu m_menu; CMFCToolBar m_toolbar; // Where toolbar initialization takes place: m