BCGControlBar Library for .NET
GetCaptionButtonSize Method (GlobalUtils)




A form to get a caption button size.
Returns the size of the caption button for the specified form according to its border style.
Syntax
'Declaration
 
Public Shared Function GetCaptionButtonSize( _
   ByVal form As Form _
) As Size
'Usage
 
Dim form As Form
Dim value As Size
 
value = GlobalUtils.GetCaptionButtonSize(form)
public static Size GetCaptionButtonSize( 
   Form form
)
public: static Size GetCaptionButtonSize( 
   Form* form
) 
public:
static Size GetCaptionButtonSize( 
   Form^ form
) 

Parameters

form
A form to get a caption button size.
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