BCGControlBar Library for .NET
IsInsideResizeArea Method (ToolbarBaseControlButton)




A point to test.
Specifies if the ToolbarBaseControlButton can be resized according to the current position of the cursor.
Syntax
'Declaration
 
Public Overrides Function IsInsideResizeArea( _
   ByVal ptMouse As Point _
) As Boolean
'Usage
 
Dim instance As ToolbarBaseControlButton
Dim ptMouse As Point
Dim value As Boolean
 
value = instance.IsInsideResizeArea(ptMouse)
public override bool IsInsideResizeArea( 
   Point ptMouse
)
public: bool IsInsideResizeArea( 
   Point ptMouse
) override 
public:
bool IsInsideResizeArea( 
   Point ptMouse
) override 

Parameters

ptMouse
A point to test.

Return Value

True, if the cursor is located over resizable area and the button has parent command bar, embedded non-autosize control, its property CanResized is equal to true.
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

ToolbarBaseControlButton Class
ToolbarBaseControlButton Members
Base Implementation in IsInsideResizeArea

Send Feedback