10 Managing Groups
Q3Group_AddObject
function to add an object to a group.
TQ3GroupPosition Q3Group_AddObject ( TQ3GroupObject group, TQ3Object object);group
A group.object
An object.
Q3Group_AddObject
function inserts the object specified by the object
parameter into the group specified by the group
parameter. If group
is a unordered group, the object is appended to the list of objects in the group. If group
is an ordered group, the object is appended to the part of the list of objects in the group that are of the same type as object
. Q3Group_AddObject
returns the new position of the object in the group. If an error occurs as an object is inserted into the group, Q3Group_AddObject
returns NULL
.kQ3ErrorInvalidObject
kQ3ErrorOutOfMemory
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker