BCGControlBar Library for .NET
OnDrawCaptionButton Method (VisualManager)




Specifies DrawButtonDef object associated with a caption button to draw.

This function is called by the framework  on painting  CaptionCommandButton object on the caption of the docking pane.  Override this member function in your VisualManager-derived class to customize the caption button appearance.
Syntax
'Declaration
 
Public Overridable Sub OnDrawCaptionButton( _
   ByVal vd As DrawButtonDef _
) 
'Usage
 
Dim instance As VisualManager
Dim vd As DrawButtonDef
 
instance.OnDrawCaptionButton(vd)
public virtual void OnDrawCaptionButton( 
   DrawButtonDef vd
)
public: virtual void OnDrawCaptionButton( 
   DrawButtonDef* vd
) 
public:
virtual void OnDrawCaptionButton( 
   DrawButtonDef^ vd
) 

Parameters

vd

Specifies DrawButtonDef object associated with a caption button to draw.

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