Articles
Forums
Downloads
Autodocs
Home
/
Autodocs
/
datatypes.library
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 object list of the window and waits 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()
.
RESULT
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()