BCGControlBar Library for .NET
ButtonFromPoint(Point) Method




A point in client coordinates from the ToolBar to retrieve.
If the boundaries of any visible  Toolbar Button from the ToolBar contains a specified point, this Toolbar Button will be returned, otherwise, null value.
Syntax
'Declaration
 
Public Overloads Overrides Function ButtonFromPoint( _
   ByVal pt As Point _
) As ToolbarButton
'Usage
 
Dim instance As Toolbar
Dim pt As Point
Dim value As ToolbarButton
 
value = instance.ButtonFromPoint(pt)
public override ToolbarButton ButtonFromPoint( 
   Point pt
)
public: ToolbarButton* ButtonFromPoint( 
   Point pt
) override 
public:
ToolbarButton^ ButtonFromPoint( 
   Point pt
) override 

Parameters

pt
A point in client coordinates from the ToolBar to retrieve.
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

Toolbar Class
Toolbar Members
Overload List
Base Implementation in ButtonFromPoint

Send Feedback