Version

EnsureActiveControlInView(Boolean) Method

Verifies that the active control contained in an UltraExplorerBarGroup is in view. The active control must be in an UltraExplorerBarContainerControl and the Style of the UltraExplorerBar must support group-level scrolling (as opposed to item-level scrolling). Two styles that support group-level scrolling are ‘ExplorerBar’ and 'VisualStudio2005Toolbox'.
Syntax
'Declaration
 
Public Overloads Sub EnsureActiveControlInView( _
   ByVal fullyInView As Boolean _
) 
public void EnsureActiveControlInView( 
   bool fullyInView
)

Parameters

fullyInView
Pass true if the active control should be scrolled as fully into view as possible, even if it is already partially in view. Pass false if the active control should not be scrolled fully into view if it is already partially in view.
Remarks

For Styles ‘1 – Listbar’, ‘2 – Toolbox’, and '3 - OutlookNavigationPane', this method does nothing.



For Styles ‘0 – ExplorerBar’ and '4 - VisualStudio2005Toolbox', this method brings the active control contained in an UltraExplorerBarGroup into view by scrolling the main area of the control if necessary.



If the group which contains the active control has its Expanded property set to false this method has no effect.

In cases where the active control's height exceeds the height of the control, the top edge of the active control will be brought into view.



If the 'fullyInView' parameter is true, then the active control will be scrolled as much into view as possible. If that parameter is false and the active control is already in view (partially or fully) then this method does nothing.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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