The expand button can is used to display a popup menu with items related to the shortcut bar. Sometimes you might not want to display the expand button in your shortcut bar.
The ShowExpandButton
method is used to remove the expand button. You can use the
IsExpandButtonVisible
method to determine if the button is visible.
m_wndShortcutBar.ShowExpandButton(FALSE);