MoveWindow

Description:

baMoveWindow moves or resizes the specified window.

Platforms:

Windows

Usage:

baMoveWindow( WinHandle, Left , Top , Width , Height , Activate )

Arguments:

Integer, integer, integer, integer, integer, integer.
WinHandle is the handle of the window to move.
Left is the new left position of the window.
Top is the new top position of the window.
Width is the new width of the window.
Height is the new height of the window.
If Activate is true then the window will be activated.

Returns:

Void.

Examples:

Director:
baMoveWindow( Wnd, 20 , 20 , 400 , 400 , true )

Authorware:
baMoveWindow( Wnd, 20 , 20 , 400 , 400 , true )
 

Notes:

If both Left and Top arguments are -1, then the windows current position will not be changed.

If both Width and Height are -1, then the windows current size will not be changed.
 

See also:

baWindowInfo