BCGControlBar Library for .NET
ButtonFromPoint Method (CommandBar)




A point to test.
Gets a visible ToolbarButton from the CommandBar which boundaries contain the specified point. If no ToolbarButton contains such a point the null reference should be returned.
Syntax
'Declaration
 
Public Overridable Function ButtonFromPoint( _
   ByVal pt As Point _
) As ToolbarButton
'Usage
 
Dim instance As CommandBar
Dim pt As Point
Dim value As ToolbarButton
 
value = instance.ButtonFromPoint(pt)
public virtual ToolbarButton ButtonFromPoint( 
   Point pt
)
public: virtual ToolbarButton* ButtonFromPoint( 
   Point pt
) 
public:
virtual ToolbarButton^ ButtonFromPoint( 
   Point pt
) 

Parameters

pt
A point to test.
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

CommandBar Class
CommandBar Members

Send Feedback