BCGControlBar Library for .NET
CreateObjectRegion Method (VisualManager)




A ControlVisualDef object which contains a data for the control to draw.
Called by the framework on filling the background of the control bar in Visual Manager 2003. Specifies the region to fill. In default implementation this function returns a null reference. You can override it in the derived class to specify any region to draw.
Syntax
'Declaration
 
Public Overridable Function CreateObjectRegion( _
   ByVal vd As ControlVisualDef _
) As Region
'Usage
 
Dim instance As VisualManager
Dim vd As ControlVisualDef
Dim value As Region
 
value = instance.CreateObjectRegion(vd)
public virtual Region CreateObjectRegion( 
   ControlVisualDef vd
)
public: virtual Region* CreateObjectRegion( 
   ControlVisualDef* vd
) 
public:
virtual Region^ CreateObjectRegion( 
   ControlVisualDef^ vd
) 

Parameters

vd
A ControlVisualDef object which contains a data for the control 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