NAME RemoveDTObject - remove an object from a window. (v39) SYNOPSIS position = RemoveDTObject (window, object); d0 a0 a1 long removedtobject (struct window *, object *); FUNCTION Removes the object from the window's object list. This will wait until the AsyncLayout process is complete. The object will receive a DTM_REMOVEDTOBJECT message to inform the object it has been removed. INPUTS window - Pointer to the window. object - Pointer to an object as returned by newdtobjecta(). RETURNS Returns the ordinal position of the removed object. If the object wasn't found in the appropriate list then a -1 is returned. SEE ALSO adddtobject(), intuition.library/removeglist()