BCGControlBar Library for .NET
SetCursor Method (ToolbarBaseControlButton)




A mouse position to test.
Called by the framework to set a vertical split cursor in customize mode when the mouse pointer is over the resizable area.
Syntax
'Declaration
 
Public Overrides Function SetCursor( _
   ByVal ptMouse As Point _
) As Boolean
'Usage
 
Dim instance As ToolbarBaseControlButton
Dim ptMouse As Point
Dim value As Boolean
 
value = instance.SetCursor(ptMouse)
public override bool SetCursor( 
   Point ptMouse
)
public: bool SetCursor( 
   Point ptMouse
) override 
public:
bool SetCursor( 
   Point ptMouse
) override 

Parameters

ptMouse
A mouse position to test.

Return Value

True, if the ToolbarBaseControlButton is in the customize mode and a mouse pointer is located over its resizable area.
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 SetCursor

Send Feedback