BCGControlBar Library for .NET
OnDrawMdiClientAreaBorder Method (VisualManager)




Specifies the DrawObjectBorderDef object associated with MDIClientArea to draw a border.
The related MDIClientBorder style.

Called by the framework on painting MDIClient area. Draws a  border around the MDIClient area according to the specified MDIClientBorder style. Returns the boundaries of the MDIClientArea.Override this member function in your VisualManager-derived class to customize the redrawing of the MDIClientArea's border.

Syntax
'Declaration
 
Public Overridable Function OnDrawMdiClientAreaBorder( _
   ByVal vd As DrawObjectBorderDef, _
   ByVal style As MdiClientBorderStyle _
) As Rectangle
'Usage
 
Dim instance As VisualManager
Dim vd As DrawObjectBorderDef
Dim style As MdiClientBorderStyle
Dim value As Rectangle
 
value = instance.OnDrawMdiClientAreaBorder(vd, style)
public virtual Rectangle OnDrawMdiClientAreaBorder( 
   DrawObjectBorderDef vd,
   MdiClientBorderStyle style
)
public: virtual Rectangle OnDrawMdiClientAreaBorder( 
   DrawObjectBorderDef* vd,
   MdiClientBorderStyle style
) 
public:
virtual Rectangle OnDrawMdiClientAreaBorder( 
   DrawObjectBorderDef^ vd,
   MdiClientBorderStyle style
) 

Parameters

vd
Specifies the DrawObjectBorderDef object associated with MDIClientArea to draw a border.
style
The related MDIClientBorder style.
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