Toll Free: (877) 723-1442 U.S. and Canada
Support
ActiveX / COM
Visual C++ / MFC
Customer Spotlight
Corporate Partners
Contact Sales

Call center available M-F 9:00 - 6:00 US Eastern Time.

U.S. and Canada
(877) 723-1442

International
(517) 625-5729

Email

Removing the Expand Button

Author: Mike Palmatier
Posted: April 28, 2006
Environment: Visual C++ 6.0

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);

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Other products and/or company names may be trademarks or registered trademarks of their respective owners.