BCGControlBar Library for .NET
FindNearestDockBar Method




The nearest dock bar to find.
The nearest dock row to find.
True, if the nearest dock bar is located on the outer edge.
Specifies the dock bar and dock row nearest  to the current mouse position on the parent form and defines if this dock bar is located on the outer edge.
Syntax
'Declaration
 
Public Function FindNearestDockBar( _
   ByRef outDockBar As DockBar, _
   ByRef outRow As DockBarRow, _
   ByRef outOuterEdge As Boolean _
) As Boolean
'Usage
 
Dim instance As CommandBarManager
Dim outDockBar As DockBar
Dim outRow As DockBarRow
Dim outOuterEdge As Boolean
Dim value As Boolean
 
value = instance.FindNearestDockBar(outDockBar, outRow, outOuterEdge)
public bool FindNearestDockBar( 
   ref DockBar outDockBar,
   ref DockBarRow outRow,
   ref bool outOuterEdge
)
public: bool FindNearestDockBar( 
   ref DockBar* outDockBar,
   ref DockBarRow* outRow,
   ref bool outOuterEdge
) 
public:
bool FindNearestDockBar( 
   DockBar^% outDockBar,
   DockBarRow^% outRow,
   bool% outOuterEdge
) 

Parameters

outDockBar
The nearest dock bar to find.
outRow
The nearest dock row to find.
outOuterEdge
True, if the nearest dock bar is located on the outer edge.
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

CommandBarManager Class
CommandBarManager Members

Send Feedback