Function
Returns the members of a Group by index.
Syntax
#include <dx/dx.h>
Object DXGetEnumeratedMember(Group g, int n, char **name)
Functional Details
Returns the nth member of Group g. The members of a Group may be indexed by calling this routine with successive values of n starting with 0 until NULL is returned. This routine returns the name of the nth member in *name if name is not NULL.
Note: | The numbering changes as members are added and deleted. |
Return Value Returns the nth member or returns NULL but does not set an error code if n is out of range. Sets an error code if g is not a Group.
See Also
DXGetMember, DXGetMemberCount, DXNewGroup, DXSetEnumeratedMember