Synopsis
int OMadd_subobj(
OMobj_id parent,
OMobj_id object, );
Description
OMadd_subobj makes object an immediate subobject of parent .
Positionally, object becomes the last subobject in parent . To control object 's placement in parent , use OMinsert_subobj instead.
After you move an object that may have connections to it (using OMdel_subobj and OMadd_subobj), you should update the references to this object using OMupd_name_refs.
Arguments
parent
The id of the parent object. parent must be an object that can have subobjects, such as SingleWindowApp, Applications, or a library, group, or macro object.
object
The id of the object being parented. object must not currently have a parent.
Returned value
The status code (see See Return Status ).