iFlags

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

If hObject is a container, you can use 0 (process only hObject), or you can 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

[0x0001] Process only objects that have the selected property set to TRUE. To get a list of selected objects, use the AnnGetSelectList method.

ANNFLAG_NOTTHIS

[0x0004] 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

[0x0008] Process objects within a container, and within any subcontainers, down to any level.

ANNFLAG_NOTCONTAINER

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

ANNFLAG_NOINVALIDATE

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

ANNFLAG_USER

[0x0040] Process only those objects that have a user included in pUserList. If pUserList is NULL, process only those objects that do not have an associated user.