Version

ResizeWindow Method (UltraStatusBarTestObject)

The ResizeWindow method will simulate the resizing of the window that hosts the StatusBar control.
Syntax
'Declaration
 
Public Sub ResizeWindow( _
   ByVal width As Integer, _
   ByVal height As Integer _
) 
public void ResizeWindow( 
   int width,
   int height
)

Parameters

width
The new width of the form.
height
The new height of the form.
Remarks
When the Resize Handle of the WinStatusBar is dragged, it will resize the window. This method will be recorded in that case, rather than a Drag event.
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