BCGControlBar Library for .NET
GetScreenBounds Method




The rectangle to get a screen.
Returns a screen for the display that contains the upper-left corner of the specified rectangle. Called by the framework to place the popup menu within its screen.
Syntax
'Declaration
 
Public Shared Function GetScreenBounds( _
   ByVal rect As Rectangle _
) As Rectangle
'Usage
 
Dim rect As Rectangle
Dim value As Rectangle
 
value = GlobalUtils.GetScreenBounds(rect)
public static Rectangle GetScreenBounds( 
   Rectangle rect
)
public: static Rectangle GetScreenBounds( 
   Rectangle rect
) 
public:
static Rectangle GetScreenBounds( 
   Rectangle rect
) 

Parameters

rect
The rectangle to get a screen.
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