 Autodocs Libraries:
datatypes.library --background-- --rexxhost-- AddDTObject DisposeDTObject DoAsyncLayout DoDTMethodA DrawDTObjectA GetDTAttrsA GetDTMethods GetDTString GetDTTriggerMethods NewDTObjectA ObtainDTDrawInfoA ObtainDataTypeA PrintDTObjectA RefreshDTObjectA ReleaseDTDrawInfo ReleaseDataType RemoveDTObject SetDTAttrsA Include GuruMeditation
|
Docs » Autodocs » datatypes.library » AddDTObject
AddDTObject - Add an object to a window or requester. (V39)
realposition = AddDTObject (window, requester, object, position); d0 a0 a1 a2 d0 LONG AddDTObject (struct Window *, struct Requester *, Object *, LONG);
This function adds a single object to the gadget list of the given window or requester at the position in the list specified by the position argument. When the object is added to the gadget list, the object will receive a GM_LAYOUT message with the gpl_Initial field set to one.
window - Pointer to the window. requester - Must be NULL. object - Pointer to an object as returned by NewDTObjectA(). position - Integer position in the list for the new gadget. -1 to add to the end of the list.
Returns the position of where the object was actually added.
RemoveDTObject(), intuition.library/AddGList()
|