Version

EnsureActiveControlInView() 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'. The parameterless overload does not attempt to bring the active control fully into view if it is already partially in view.
Syntax
'Declaration
 
Public Overloads Sub EnsureActiveControlInView() 
public void EnsureActiveControlInView()
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 is 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.



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