BCGControlBar Library for .NET
OnCalcMdiAreaRect Method




Specifies the client rectangle of the MDIClientArea control.
Specifies the current MDIClient border style.
Called by the framework to calculate the boundaries of the active MDI container within the MDIClientArea according to the current MDIClientBorder style.
Syntax
'Declaration
 
Public Overridable Function OnCalcMdiAreaRect( _
   ByVal rectClient As Rectangle, _
   ByVal style As MdiClientBorderStyle _
) As Rectangle
'Usage
 
Dim instance As VisualManager
Dim rectClient As Rectangle
Dim style As MdiClientBorderStyle
Dim value As Rectangle
 
value = instance.OnCalcMdiAreaRect(rectClient, style)
public virtual Rectangle OnCalcMdiAreaRect( 
   Rectangle rectClient,
   MdiClientBorderStyle style
)
public: virtual Rectangle OnCalcMdiAreaRect( 
   Rectangle rectClient,
   MdiClientBorderStyle style
) 
public:
virtual Rectangle OnCalcMdiAreaRect( 
   Rectangle rectClient,
   MdiClientBorderStyle style
) 

Parameters

rectClient
Specifies the client rectangle of the MDIClientArea control.
style
Specifies the current MDIClient border 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