BCGSoft.Shared Namespace > GlobalUtils Class : GetCaptionRect Method |
'Declaration Public Shared Function GetCaptionRect( _ ByVal form As Form, _ ByRef szBorder As Size, _ ByVal isRibbonPresent As Boolean _ ) As Rectangle
'Usage Dim form As Form Dim szBorder As Size Dim isRibbonPresent As Boolean Dim value As Rectangle value = GlobalUtils.GetCaptionRect(form, szBorder, isRibbonPresent)
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