BCGControlBar Library for .NET
OnDrawControlBarCaption Method (VisualManager)




Specifies DrawControlBarCaptionDef object associated with a caption to draw. Used to define the boundaries of the caption, related graphics and indicate if the state of the control bar is active.
Called by the framework on redrawing the caption of the docking pane. This function fills the background of the caption and returns the color to draw a text on it. Override this member function in your VisualManager-derived class to customize the caption appearance.
Syntax
'Declaration
 
Public Overridable Function OnDrawControlBarCaption( _
   ByVal vd As DrawControlBarCaptionDef _
) As Color
'Usage
 
Dim instance As VisualManager
Dim vd As DrawControlBarCaptionDef
Dim value As Color
 
value = instance.OnDrawControlBarCaption(vd)
public virtual Color OnDrawControlBarCaption( 
   DrawControlBarCaptionDef vd
)
public: virtual Color OnDrawControlBarCaption( 
   DrawControlBarCaptionDef* vd
) 
public:
virtual Color OnDrawControlBarCaption( 
   DrawControlBarCaptionDef^ vd
) 

Parameters

vd
Specifies DrawControlBarCaptionDef object associated with a caption to draw. Used to define the boundaries of the caption, related graphics and indicate if the state of the control bar is active.
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