BCGControlBar Library for .NET
AdjustRectToWorkingArea Method




Specifies the current boundaries of the popup menu.
Called by the framework to specify the size and location of the popup menu on tracking and showing customize menu. This function is used to place a popup menu within the screen.
Syntax
'Declaration
 
Public Shared Function AdjustRectToWorkingArea( _
   ByVal rectBounds As Rectangle _
) As Rectangle
'Usage
 
Dim rectBounds As Rectangle
Dim value As Rectangle
 
value = GlobalUtils.AdjustRectToWorkingArea(rectBounds)
public static Rectangle AdjustRectToWorkingArea( 
   Rectangle rectBounds
)
public: static Rectangle AdjustRectToWorkingArea( 
   Rectangle rectBounds
) 
public:
static Rectangle AdjustRectToWorkingArea( 
   Rectangle rectBounds
) 

Parameters

rectBounds
Specifies the current boundaries of the popup menu.
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

GlobalUtils Class
GlobalUtils Members

Send Feedback