BCGControlBar Library for .NET
ChangeHighlightedButton Method (Toolbar)




A button from the ToolBarButton collection to be highlighted. If it is disabled or a null value, no buttons will be highlighted.
Highlights the specified ToolBar button, opens a popup menu for it, makes another button from the ToolBarButton collection non-highlighted.
Syntax
'Declaration
 
Public Overrides Sub ChangeHighlightedButton( _
   ByVal button As ToolbarButton _
) 
'Usage
 
Dim instance As Toolbar
Dim button As ToolbarButton
 
instance.ChangeHighlightedButton(button)
public override void ChangeHighlightedButton( 
   ToolbarButton button
)
public: void ChangeHighlightedButton( 
   ToolbarButton* button
) override 
public:
void ChangeHighlightedButton( 
   ToolbarButton^ button
) override 

Parameters

button
A button from the ToolBarButton collection to be highlighted. If it is disabled or a null value, no buttons will be highlighted.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Toolbar Class
Toolbar Members
Base Implementation in ChangeHighlightedButton

Send Feedback