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
parentThe 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.
indexThe 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.
object0Returned value
The status code (see Return Status ).Examples
none.See Also