BCGControlBar Library for .NET
SetCapturedButton Method (CommandBar)




A button to set a capture.
This function has no default implementation. Override it in the derived class to set a capture to the specified button.
Syntax
'Declaration
 
Public Overridable Sub SetCapturedButton( _
   ByVal button As ToolbarButton _
) 
'Usage
 
Dim instance As CommandBar
Dim button As ToolbarButton
 
instance.SetCapturedButton(button)
public virtual void SetCapturedButton( 
   ToolbarButton button
)
public: virtual void SetCapturedButton( 
   ToolbarButton* button
) 
public:
virtual void SetCapturedButton( 
   ToolbarButton^ button
) 

Parameters

button
A button to set a capture.
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

CommandBar Class
CommandBar Members

Send Feedback