BCGControlBar Library for .NET
TrackCommandBar Method (CommandBarManager)




The command bar to track.
The horizontal coordinate of the top-left corner of the miniframe with the command bar.
The vertical coordinate of the top-left corner of the miniframe with the command bar.

If the bar is floating and the parent form of controls is not NULL, the bar will be moved to NewX points right and to NewY points down.
Call this member function to display the command bar anywhere on the screen.

Syntax
'Declaration
 
Public Sub TrackCommandBar( _
   ByVal bar As CommandBar, _
   ByVal newX As Integer, _
   ByVal newY As Integer _
) 
'Usage
 
Dim instance As CommandBarManager
Dim bar As CommandBar
Dim newX As Integer
Dim newY As Integer
 
instance.TrackCommandBar(bar, newX, newY)
public void TrackCommandBar( 
   CommandBar bar,
   int newX,
   int newY
)
public: void TrackCommandBar( 
   CommandBar* bar,
   int newX,
   int newY
) 
public:
void TrackCommandBar( 
   CommandBar^ bar,
   int newX,
   int newY
) 

Parameters

bar
The command bar to track.
newX
The horizontal coordinate of the top-left corner of the miniframe with the command bar.
newY
The vertical coordinate of the top-left corner of the miniframe with the command bar.
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