BCGControlBar Library for .NET
OnDrawButtonBorder Method (VisualManager)




Specifies DrawButtonDef object associated with a toolbar button to draw a border.

This function is called by the framework  on painting a toolbar button on highlighted or pressed state. The default implementation displays the standard border. Override this member function in your VisualManager-derived class to customize the border appearance.
Syntax
'Declaration
 
Public Overridable Sub OnDrawButtonBorder( _
   ByVal vd As DrawButtonDef _
) 
'Usage
 
Dim instance As VisualManager
Dim vd As DrawButtonDef
 
instance.OnDrawButtonBorder(vd)
public virtual void OnDrawButtonBorder( 
   DrawButtonDef vd
)
public: virtual void OnDrawButtonBorder( 
   DrawButtonDef* vd
) 
public:
virtual void OnDrawButtonBorder( 
   DrawButtonDef^ vd
) 

Parameters

vd

Specifies DrawButtonDef object associated with a toolbar button to draw a border.

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

VisualManager Class
VisualManager Members

Send Feedback