iFlags

Flag that indicates the objects to process. Use 0 if hObject is not a container.

If hObject is a container, use 0 (process only hObject), or combine some of the values given below, using a bitwise OR. For example, ANNFLAG_SELECTED + ANNFLAG_RECURSE processes only the selected objects.

Value

Meaning

0

Process only the specified object.

ANNFLAG_SELECTED

[$0001] Process only objects that have the selected property set to True. To get a list of selected objects, use the AnnGetSelectList method.

ANNFLAG_NOTTHIS

[$0004] Process only one level of objects within the specified container, not the container itself. If there are containers within the container, they are modified, but the objects within them are not.

ANNFLAG_RECURSE

[$0008] Process objects within a container, and within any sub- containers, down to any level.

ANNFLAG_NOTCONTAINER

[$0002] (Used with ANNFLAG_RECURSE) Process objects within containers, not the containers themselves.

ANNFLAG_NOINVALIDATE

[$0010] Do not invalidate the affected rectangle in the window. Use this to avoid generating unwanted paint messages.

ANNFLAG_USER

[$0040] Process only those objects that have a user included in pUserList. If pUserList is Nil, process only those objects that do not have an associated user.