SetWindowDepth

Description:

baSetWindowDepth sets the z-order depth of the specified window.

Platforms:

Windows

Usage:

baSetWindowDepth( WinHandle , Depth )

Arguments:

Integer, integer.
WinHandle is the handle to set the depth of.
Depth is the new depth to set the window to.

Returns:

Void.

Examples:

Director:
baSetWindowDepth( baWinHandle() , 2 ) -- sets the Director window to below the top window, but in front of all other windows

Authorware:
baSetWindowDepth( 3124 , 5 )
 

Notes:

Setting a depth greater than the number of visible windows is allowed - the window will be sent to the back of all other windows.
 

See also:

baWindowDepth
baWindowToFront
baWindowToBack