BCGSoft.ControlBars Namespace > Toolbar Class > ButtonFromPoint Method : ButtonFromPoint(Point,Boolean) Method |
'Declaration Public Overloads Function ButtonFromPoint( _ ByVal pt As Point, _ ByVal findNearestButton As Boolean _ ) As ToolbarButton
'Usage Dim instance As Toolbar Dim pt As Point Dim findNearestButton As Boolean Dim value As ToolbarButton value = instance.ButtonFromPoint(pt, findNearestButton)
public ToolbarButton ButtonFromPoint( Point pt, bool findNearestButton )
public: ToolbarButton* ButtonFromPoint( Point pt, bool findNearestButton )
public: ToolbarButton^ ButtonFromPoint( Point pt, bool findNearestButton )
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