|
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 International Email |
Removing the ToolBar Gripper
Author: Mike Palmatier
Posted: October 20, 2005
Environment: Visual Basic 6.0
By default, a toolbar will display a gripper that is used to indicate that the
toolbar can be "gripped" and moved by the user. The gripper
is cosmetic only, removing the gripper will not disable movement of the toolbar. To modify where the toolbar can be docked, if at all, you
need to use the EnableDocking method discussed in the
Specify where a Toolbar can be Docked article.
'Remove gripper from the menu bar CommandBars.ActiveMenuBar.ModifyStyle XTP_CBRS_GRIPPER, 0
'Remove gripper from the first toolbar. Note that Commandbars(1) 'is the menu bar CommandBars(2).ModifyStyle XTP_CBRS_GRIPPER, 0 |
