TOC PREV NEXT INDEX

OMinsert_subobj

Synopsis


int OMinsert_subobj(OMobj_id parent,
int index,OMobj_id object,0 );

Description

OMadd_subobj makes object an immediate subobject of parent .Positionally, object becomes object number index in parent , where an index value of zero refers to the first object. If you don't care about object 's placement in parent , use OMadd_subobj instead.

Arguments

parent
The id of the new parent object. parent must be an object that can have subobjects, such as SingleWindowApp, Applications, or a library, group, or macro object.
index
The location of the new object in parent . 0 means the first subobject; 1 means the second subobject, and so forth.You can specify OM_ARRAY_APPEND to add the object to the end of the subobject list.
object
The id of the object being given a parent. object must not currently have a parent.
0
The fourth parameter must be 0.

Returned value

The status code (see Return Status ).

Examples

none.

See Also

OMadd_subobj

TOC PREV NEXT INDEX