Q3Group_GetNextPositionOfType
You can use theQ3Group_GetNextPositionOfTypefunction to get the position of the next object of a particular type in a group.
TQ3Status Q3Group_GetNextPositionOfType ( TQ3GroupObject group, TQ3ObjectType isType, TQ3GroupPosition *position);
group- A group.
isType- An object type.
position- On entry, a pointer to a valid group position. On exit, a pointer to the position in the specified group of the next object that follows the object in that position and that has the specified type.
DESCRIPTION
TheQ3Group_GetNextPositionOfTypefunction returns, in thepositionparameter, the position in the group specified by thegroupparameter of the next object that follows the object having the position specified on entry in thepositionparameter and that has the type specified by theisTypeparameter. If the object specified on entry is the last object of that type in the group,Q3Group_GetNextPositionOfTypereturns the valueNULLin thepositionparameter. Note that the type of the object in the position specified by thepositionparameter on entry toQ3Group_GetNextPositionOfTypedoes not have to be the same as the type specified by theisTypeparameter.ERRORS
kQ3ErrorInvalidObject
kQ3ErrorInvalidPositionForGroup
kQ3ErrorNULLParameter
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help