SetParent

Description:

baSetParent makes a window a child of another window.

Platforms:

Windows

Usage:

baSetParent( WindowHandle, NewParent )

Arguments:

Integer, integer.
WindowHandle is the handle of the window to change.
NewParent is the handle of the window to make the parent

Returns:

Void.

Examples:

Director:
baSetParent( 2459 , baStageHandle() ) -- make a window a child of the stage

Authorware:
baSetParent( 2459 , 5623 )
 

Notes:

Not all programs like having their windows made a child of another program.